安装 Xcode 4 并保留 Xcode 3?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5009015/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Install Xcode 4 and keep Xcode 3?
提问by Franck
I've read many time that we can install Xcode 4 and keep Xcode 3.
我已经读过很多次了,我们可以安装 Xcode 4 并保留 Xcode 3。
BUT, i've also read that it was not possible with Xcode 4 GM.
但是,我也读到 Xcode 4 GM 是不可能的。
Anyone have done this with success?
有谁成功地做到了这一点?
Update:
更新:
Ok, I have installed-it. (different folder)
好的,我已经安装了它。(不同的文件夹)
But it always crash at start. (xcode encounter an internal logic error)
但它总是在启动时崩溃。(xcode 遇到内部逻辑错误)
Someone have an idea?
有人有想法吗?
回答by cobbal
It's fairly easy to do. When running the installer, just change "Install location" to something other than /Developer
这很容易做到。运行安装程序时,只需将“安装位置”更改为除/Developer
回答by KomodoDave
You can install them both fine, simply choose separate directories. I have Xcode 3 installed into its vanilla location (/Developer) whereas Xcode 4 is in '/Developer/XCode4'.
您可以很好地安装它们,只需选择单独的目录。我已将 Xcode 3 安装到其原版位置 (/Developer),而 Xcode 4 位于“/Developer/XCode4”中。
To change the install location: On the 'Installation Type' screen within the installer you'll notice that the 'Developer' folder listed next to the top install item is actually a dropdown - click this then choose 'Other..' to select a custom location.
更改安装位置:在安装程序中的“安装类型”屏幕上,您会注意到顶部安装项目旁边列出的“开发人员”文件夹实际上是一个下拉列表 - 单击此按钮然后选择“其他..”以选择一个自定义位置。
回答by WrightsCS
Xcode 4 is still under NDA, but you can always choose to install Xcode 4 in another directory.
Xcode 4 仍处于保密协议之下,但您始终可以选择将 Xcode 4 安装在另一个目录中。