Installing two versions of Xcode on a Mac

Hello.


Last time I tried to install two versions (stable + beta) of Xcode on my Mac was around the Xcode 4-5 timeframe, when they switched from it being a download to an app store purchase. Having both a downloaded and an app store version on my Mac at the same time resulted in some kind of corruption that made it impossible for me to get App Store updates to Xcode ever again. I had to format my drive and start from scratch in order to get the App Store version to install again. Since that's clearly an experience I wouldn't want to repeat, I've never installed a beta version since.


Unfortunately I now need to do some work for Apple TV and need the v7.1 beta for that. I have v7.0 installed in the Applications folder already and we use that for production so I don't want to corrupt it or destroy the ability to update it to 7.1 once it's released. Or anything else bad that could happen from installing two versions of Xcode on the same Mac.


My question is has Apple fixed all these sorts of issues and is it now safe to install a beta version of Xcode on the same Mac as a released version? How do they not stomp all over each other when it comes to things like double-clicking on an Xcode project file, for example? And does the beta version install in the Applications folder as well, or off in some random directory of my own choosing? What are the gotchya's to watch out for when having two versions of Xcode on one Mac like this?


Thanks.

Answered by KMT in 60582022

Hi:


I have both Xcode (v7) and Xcode-Beta (7.1) installed, no issues. And I note your concerns from v4.x, etc.


I'd suggest to not get creative - install to your boot drive, don't rename Xcode when installing and don't move it outside of /Applications without good reason.


And as always, as stuf happens, devs need to be sure to have a tested and reliable backup in place at all times.


Good luck.


Ken

-=-

Accepted Answer

Hi:


I have both Xcode (v7) and Xcode-Beta (7.1) installed, no issues. And I note your concerns from v4.x, etc.


I'd suggest to not get creative - install to your boot drive, don't rename Xcode when installing and don't move it outside of /Applications without good reason.


And as always, as stuf happens, devs need to be sure to have a tested and reliable backup in place at all times.


Good luck.


Ken

-=-

I have Xcode5.1.1, Xcode6.4, Xcode7 and 7.1 beta. And Xcode 7 and 7.1 beta working without problems.

(I find some odd behavior, when back to 6.4.)


What I care for installing multiple versions of Xcode are:

- Update production version of Xcode through App Store.

(So, the production version always have path as /Applicaitons/Xcode.app.)

- Rename the downloaded beta version of Xcode before installing or invokation.

(Copy and extract the downloaded beta somewhere outside Applications, rename it, move the renamed `XcodeN.Mbeta.app` to /Applications .)

- Do not open two versions at the same time.

- Restart your Mac after installation.

- Start the Xcode you want to use before double-clicking the .xcodeproj file.

- Do not rename or move the Xcode.app (or its renamed version) once you invoked it.


I'm not sure these are all needed or sufficient. But till now it's Ok for `7` versions.

It looks like they now name the "beta" directory something else ("Xcode-Beta (7.1)"), which they didn't do before. That should solve most of the issues.

Thanks

Download

Thanks

Thanks

Try this ----> [https://not.justsolutionsproducts.com/install-xcode-on-mac-updated-solution/)

Installing two versions of Xcode on a Mac
 
 
Q