Askar
Askar

Reputation: 5854

brew doctor says "Your Xcode (3.2) is outdated Please install Xcode 4.6.2." but I already have it installed

brew doctor

gave me bunch of warnings, the last one is

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

But I already have it installed on Mac OS X 10.8.3.

Upvotes: 3

Views: 2761

Answers (2)

Askar
Askar

Reputation: 5854

To uninstall older Xcode I did:

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

as described here, and the warning disappeared.

Upvotes: 2

anon
anon

Reputation:

Try using the Xcode-select utility to set the default Xcode path:

 sudo xcode-select -switch /path/to/Xcode.app

If this doesn't work you might also have to download and install the latest Xcode command line tools.

Upvotes: 3

Related Questions