How can I install Xcode 6 along side Xcode 5?
Asked Answered
C

4

6

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?

Camber answered 4/6, 2014 at 16:31 Comment(0)
E
12

It's simple. The Xcode 6 beta is named Xcode6-beta.app and 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.

Edieedification answered 4/6, 2014 at 16:37 Comment(4)
or more precisely for command line tools: sudo xcode-select -s /Applications/Xcode6-Beta.appDescriptive
How can I achieve this if I download Xcode via Mac App Store?Tainataint
I've not specifically tried this, but I have a few thoughts: The App Store is likely to want its idea of the "current" Xcode to be named "Xcode.app", but it seems plausible that you could rename old ones to "Xcode-VERSION.app" or something. If you wanted to be extra sure, you could zip the old one before updating through the app store to keep the App Store from finding and deleting the old one.Edieedification
Time has passed significantly, but I thank you for showing me that. At the time I didn't fully understand Xcode, but have become familiar since.Camber
M
2

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

Melindamelinde answered 19/6, 2014 at 19:58 Comment(0)
P
0

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)

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

Polyamide answered 14/7, 2014 at 16:33 Comment(0)
B
0

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!

Here is where I will work with untested software.

Good luck!

Balfore answered 25/7, 2014 at 19:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.