[英]Have xcode 7 - need 6.4 with command line tools
I have OS X Yosemite 10.10.5 with xcode 7 installed. 我安装了带有xcode 7的OS X Yosemite 10.10.5。
Now I have two development tools breaking after I installed xcode 7. 现在,在安装xcode 7之后,我有两个开发工具已损坏。
I need to revert back to 6.4 with command line tools? 我需要使用命令行工具恢复到6.4吗?
Right now I am contemplating: 现在我正在考虑:
Will this work? 这样行吗? Is there a better way where I can switch between xcode versions?
有没有更好的方法可以在xcode版本之间进行切换?
You can have multiple copies of Xcode.app
installed in /Applications
, you just need to rename them. 您可以在
/Applications
安装Xcode.app
多个副本,只需重命名它们即可。
So I would recommend renaming them to Xcode6.app
and Xcode7.app
and then using xcode-select
, or the Xcode Preferences, to decide which version of the Command Line tools to use. 因此,我建议将它们重命名为
Xcode6.app
和Xcode7.app
,然后使用xcode-select
或Xcode Preferences来确定要使用的命令行工具版本。
You are probably better off downloading them from the Apple Developer Download site , and break your dependence on the Mac App Store installed version, otherwise it might keep hassling you with updates etc. 您最好从Apple Developer Download网站下载它们,并打破对Mac App Store安装版本的依赖,否则它可能会让您烦恼更新等问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.