Can you install the Xcode 5 Developer Preview in parallel with Xcode 4.6.2?

Answers

The Xcode 5 developer preview comes as a normal app DMG (not with the usual packager/installer) and has a different name.

So essentially, you download it, open a DMG, then pull to the Applications folder and thence have two Xcodes there (the old and the new one called Xcode5-DP). It even comes with a slightly different icon (red badge across a corner) and the intro screen is different too, so there is very little chance of confusing them.

I already did that today (and a colleague also).


Now that xcode 5 has reached the first official release and is no longer in beta, you have to do ONE of the following if you wish to keep BOTH versions.

  1. Run the dmg of the new version you download from developer.apple.com. Drag the app to applications, and when asked to overwrite click KEEP BOTH. This will rename the existing app to xcode 2 I believe.
  2. Select your existing xcode 4 in applications. Rename it to xcode4 or whatever. Now you can drag in the new version without overwriting the existing one.
  3. Drag the new xcode to someplace other than applications. Rename it and then drag it into applications.

I personally favour option 2, since going forward we'll be using xcode 5 and it's helpful if it retains the default name from the get go for easy updating.

参考:http://stackoverflow.com/questions/17047449/can-you-install-the-xcode-5-developer-preview-in-parallel-with-xcode-4-6-2

你可能感兴趣的:(Can you install the Xcode 5 Developer Preview in parallel with Xcode 4.6.2?)