简体   繁体   English

更新到Xcode 7并保持6.4

[英]Updating to Xcode 7 and keeping 6.4

I have Xcode 6.4 and want to update to Xcode 7. But I want to keep the 6.4 version working and have both as well. 我有Xcode 6.4,并且想更新到Xcode7。但是我想保持6.4版本的正常工作,并同时拥有两者。 Does this work? 这样行吗? And if so, how? 如果是这样,怎么办? I am running OS X 10.10.5 if this matters. 如果这很重要,我正在运行OS X 10.10.5。

You should be able to do such a thing by renaming Xcode.app in Xcode6.app from the /Application directory then download Xcode 7 from the App Store. 通过从/Application目录重命名Xcode.app中的Xcode6.app ,然后从App Store下载Xcode 7,您应该能够做到这一点。

Edit: Thanks to the feedback from HannaB, we need to copy the Xcode6.app somewhere else before downloading the new version otherwise it will overwrite the current version. 编辑:由于HannaB的反馈,我们需要在下载新版本之前将Xcode6.app复制到其他位置,否则它将覆盖当前版本。 After the installation of the new version, you can safely move Xcode6.app back to the /Application folder 安装新版本后,可以安全地将Xcode6.app/Application文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM