Xcode 6 和 Xcode 5 可以在同一台电脑上共存吗? [英] Can Xcode 6 and Xcode 5 coexist on the same computer?
问题描述
我目前拥有并使用 Xcode 5,虽然我想尝试使用 Xcode 6,但我不想将其用于生产.我可以将它们安装在同一台计算机上而不相互冲突吗?我在 Xcode 6 的下载页面上找不到任何相关内容.
I currently have and use Xcode 5, and while I'd like to experiment with Xcode 6, I don't want to use it for production. Can I have both of them installed on the same computer without them conflicting with each other? I couldn't find anything on this on the download page for Xcode 6.
推荐答案
我现在并排安装了它们,我没有遇到这种安排的任何问题.虽然我显然没有很长时间使用 Xcode 6,但我对之前的几个 Xcode 测试版也做了同样的事情,我没有理由相信这个版本会有所不同.
I have them installed side by side right now and I have not encountered any problems with this arrangement. While I obviously haven't had Xcode 6 for very long, I have done the same thing with several previous Xcode beta releases as well and I have no reason to believe this release would be different.
您可以使用 xcode-select
在不同版本的命令行工具之间切换.来自 手册页:
You can use xcode-select
to switch between the different versions of the command line tools. From the man page:
当系统上安装了多个 Xcode 应用程序时(例如/Applications/Xcode.app,包含最新的 Xcode 和包含开发人员预览的/Applications/Xcode-DP.app)使用 xcode-select--switch path/to/Xcode.app 以指定您希望用于命令行开发人员的 Xcode工具.
When multiple Xcode applications are installed on a system (e.g. /Applications/Xcode.app, containing the latest Xcode, and /Applications/Xcode-DP.app containing a developer preview) use xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools.
这篇关于Xcode 6 和 Xcode 5 可以在同一台电脑上共存吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!