Richard G
Richard G

Reputation: 5683

xcode 6.1 installation process

I installed Yosemite a couple of days ago. It really broke quite a lot of things - broke my favorite game which won't start, broke my php installation, my wordpress installation, and now Homebrew! But the spotlight feature is nice, not that it makes up for it lol.

Nonetheless I'm trying to fix Homebrew which is telling me to update to XCode 6.1. I've run software update and it says the XCode 6.1 has been installed (sort of). It has:

Command Line Tools (OSX 10.10) - Version 6.1 Installed Oct 17, 2014 (twice actually) Xcode Version 6.0.1 - Installed Oct 17, 2014

And no pending updates.

But when I check the locations tab in Xcode preferences - it says it's using Command Line Tools 6.0.1. And when I run brew doctor it tells me to upgrade to 6.1 CLT.

How do I update the CLT to 6.1? (note I'm not on Apple Developer program)

Upvotes: 4

Views: 19835

Answers (4)

karkarlawawa
karkarlawawa

Reputation: 19

As you have Xcode 6.1 installed, you can run xcode-select --install from a shell to download the correct CLT.

Upvotes: 1

Pavel Nikolov
Pavel Nikolov

Reputation: 9541

This link works without without requiring login:

https://developer.apple.com/downloads/index.action

Upvotes: 0

The link that @richard-g provided doesn't seem to work anymore, but I just found the dmg file on

https://developer.apple.com/downloads/

using an appleID that has only a free developer login.

On that page I found both Xcode 6.1 and the command line tools for OS X 10.10 for Xcode 6.1.

Before finding that, on the first machine that I upgraded from Maverick to Yosemite that already had Xcode installed on it, I was able to upgrade Xcode in the App Store and then run Xcode and from within it download and upgrade the command line tools, but App Store continues to show Xcode as one update available with just an "Open" button. I'll see if installing the downloaded dmg takes care of that, and in any case I have other machines to upgrade and could use the offline install package. The download site seems very very slow, though, the 2.5GB download is taking all day.

Upvotes: 4

Richard G
Richard G

Reputation: 5683

It worked - installing the 6.1 XCode from this download https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_6.1/xcode_6.1.dmg and it worked fine. I just had to go to Xcode -> Locations and select the 6.1 CLT, then open a new command prompt.

brew doctor

Your system is ready to brew.

========================================================

Sorry as per comments - the link to XCode is no longer working

Upvotes: 1

Related Questions