如何在 Xcode 5 旁边安装 Xcode 6?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/24042820/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:00:26  来源:igfitidea点击:

How can I install Xcode 6 along side Xcode 5?

xcodeinstallbetaversions

提问by surfmaster96

I was wondering if there is a way that I could install Xcode 6 along side Xcode 5. I've seen people say you could but they haven't really explained why. Can someone help to explain why? Also, how would you uninstall it if I wished to in the future?

我想知道是否有一种方法可以将 Xcode 6 与 Xcode 5 一起安装。我看到有人说可以,但他们并没有真正解释原因。有人可以帮忙解释一下原因吗?另外,如果我以后愿意,你会如何卸载它?

回答by ipmcc

It's simple. The Xcode 6 beta is named Xcode6-beta.appand you drag install it into /Applications. The GM version of Xcode is called Xcode.app. If you need to switch the command line tools you use xcode-select. Nothing has changed here. It's the same as it's been. When you want to "uninstall" it, drag it to the trash. It's that simple.

这很简单。Xcode 6 beta 已命名Xcode6-beta.app,您可以将其拖放到/Applications. Xcode 的 GM 版本称为Xcode.app. 如果你需要切换你使用的命令行工具xcode-select。这里什么都没有改变。它和过去一样。当你想“卸载”它时,把它拖到垃圾箱。就这么简单。

回答by user3757937

You can also change the default command line tools via GUI, if you prefer: XCode > Preferences > Locations, Dropdown "Command Line Tools"...

如果您愿意,您还可以通过 GUI 更改默认命令行工具:XCode > 首选项 > 位置,下拉菜单“命令行工具”...

回答by Macistador

Attention, you can effectively install Xcode 6 and keep Xcode 5 but this is not working perfectly fine. For example this broke my Xcode 5 IOS6 simulators and I am now unable to run my apps on this old ios version (see here)

注意,您可以有效地安装 Xcode 6 并保留 Xcode 5,但这不能正常工作。例如,这破坏了我的 Xcode 5 IOS6 模拟器,我现在无法在这个旧的 ios 版本上运行我的应用程序(见这里)

I didn't find any solution for now and there may be others problems, so be aware this operation is not without risks

我暂时没有找到任何解决方案,可能还有其他问题,所以请注意此操作并非没有风险

回答by Kalamazoo13

You might be far better off creating a partition with OSX Yosemite and installing Beta Software there. I moved over my apps to the Yosemite partition and only the Xcode 6 Beta 4 ran them - yeah!

您最好使用 OSX Yosemite 创建一个分区并在那里安装 Beta 软件。我将我的应用程序移到 Yosemite 分区,只有 Xcode 6 Beta 4 运行它们 - 是的!

Here is where I will work with untested software.

这是我将使用未经测试的软件的地方。

Good luck!

祝你好运!