uninstall previous versions of xcode

253 views Asked by At

I have xcode 4.2.1 , 4.5 and 4.6 installed on my mac . Now i want to install xcode 5

I Also want to remove xcode 4.2.1 wothout affecting any other xcode versions

Please help regarding this .

2

There are 2 answers

0
Swift Dev Journal On

Ankit's answer is correct for Xcode 4.3 and later, but to uninstall Xcode 4.2, you must run an uninstall script from the Terminal.

Go to the directory where you installed Xcode 4.2, which is most likely /Developer. In that folder there should be a PDF document titled something like About Xcode and iOS SDK (I don't have Xcode 4.2 installed so I don't know the exact name of the document). That document contains instructions on how to run the uninstall script.

0
AudioBubble On

Just go to Finder--> applications--> xcode 4.2.1 and Move it to trash. Its not going to effect any newer or older Versions.