Sonic Soul
Sonic Soul

Reputation: 24919

How do I eliminate multiple versions of Xcode?

I installed homebrew, and it keeps complaining that:

Warning: Your Xcode (4.2) is outdated
Please install Xcode 4.6.2.

As I learned there is no way to update Xcode so I just downloaded / installed the latest version.

The warning did not go away, and as I learned, I now have 2 versions installed:

enter image description here

and the warning did not go away

How do I now eliminate the old version? I just wanted to update it really.

Upvotes: 2

Views: 1122

Answers (1)

user2304858
user2304858

Reputation: 76

The /Developer location is now obsolete. Xcode now runs entirely from the application bundle in /Applications/Xcode.app.

To remove it properly, run this from Terminal:

sudo /Developer/Library/uninstall-devtools --mode=all

Although, I've simply moved /Developer it to the Trash in the past and that seemed to work fine.

You'll need to go into Xcode.app's preferences afterwards and install Command Line Tools from Downloads->Components. I came across a tutorial for setting up homebrew for new Xcode installations.

Upvotes: 6

Related Questions