Can Xcode 6 and Xcode 5 coexist on the same comput

2019-01-07 04:24发布

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.

9条回答
Lonely孤独者°
2楼-- · 2019-01-07 04:42

yes you can have two separate version on same mac

  1. Xcode 6 on the Mac App Store will replace the existing Xcode installation. Only the Xcode betas install separately (by default)

  2. Only downloading Xcode from https://developer.apple.com/downloads/ and doing the install manually (by copying Xcode from the DMG to /Applications) will prompt you to replace or keep both.

Select the keep both option when prompt.

查看更多
We Are One
3楼-- · 2019-01-07 04:44

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.

EDIT: You can use xcode-select to switch between the different versions of the command line tools. From the man page:

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.

查看更多
来,给爷笑一个
4楼-- · 2019-01-07 04:45

As an extension to @Ray Richards answer ;) - You can install Xcode 5.1.1 from the following link https://developer.apple.com/downloads/index.action?name=Xcode#

This should allow you to run 5.1.1 and 6 on Yosemite.

查看更多
啃猪蹄的小仙女
5楼-- · 2019-01-07 04:51

The answer is YES

Where to download Xcode 6 beta

  1. Go to https://developer.apple.com/xcode/downloads/
  2. Select View on the iOS Dev Center
  3. Sign in with your Apple Developer ID
  4. In the top left, select iOS 8 Beta
  5. Scroll down and search for Xcode 6 beta

The requirement for Xcode 6 is OS X Mavericks 10.9.3

It will install into /Applications folder with the name Xcode6-Beta, so it won't hurt your current Xcode

查看更多
贪生不怕死
6楼-- · 2019-01-07 04:53

They can both coexist without any problems. You can set version that command line tools use with:

sudo xcode-select -s /Applications/Xcode6-Beta.app

Xcode 6 works on 10.9 too.

查看更多
老娘就宠你
7楼-- · 2019-01-07 04:53

I'm running OS X 10.9.3 and have XCode 5.1.1 installed. Today I installed the XCode 6 beta and it went without problems. Now I have a XCode and a Xcode6-Beta app.

查看更多
登录 后发表回答