Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

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

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.

As said before - XCode 5 and 6 can coexist together. Just want to add that you can switch between the different versions of the command line tools using the GUI also: open XCode -> Preferences -> Locations.

My Xcode 5 icon in the dock turned into a big question mark, as it appears to have been deleted with the install of Yosemite. Further, If I try to re-download it from the app store, it says my version of OS X is 'too new' and refuses to allow me to download. Next I downloaded Xcode 5.1.1 from the developer downloads, which finally allowed me to install it. They are both happily coexisting now on Yosemite.

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.

Yes, you can have two Xcode on system but it is advised to keep latest one. While installing Xcode 6 there will be prompt 'Xcode already exists. Replace/Keep it ?'

Go with create a new copy of Xcode. This will install Xcode 6 on your system. The newly installed Xcode will be renamed as 'Xcode 6'. I'm using Xcode 5.1 and Xcode 6 on my system and there seems to be no issue.

Screenshot for issue

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.

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top