Can Xcode 6 and Xcode 5 coexist on the same computer?

mredig picture mredig · Jun 3, 2014 · Viewed 47.6k times · Source

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.

Answer

Ethan Holshouser picture Ethan Holshouser · Jun 3, 2014

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.