Get it from http://developer.apple.com. You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.
In XCode's Preferences > Downloads you can install command line tools.
[insert screenshot]
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Visit http://xquartz.macosforge.org/trac/wiki and download and install 2.7.0.
You will need to fix the symlink it makes:
sudo mv /usr/X11 /usr/X11.old
sudo mv /usr/X11R6 /usr/X11
Visit https://github.com/kennethreitz/osx-gcc-installer and download and install GCC-10.7.pkg.
Now, since most of this happened late last night, I am not 100% sure this is necessary after you've done the xcode-select
, but I remember doing this. If you find it's not necessary, please let me know so I can remove it as a step.
My path:
PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:~/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"
brew list
Will tell you what you need to check. Try out everything one by one and when one doesn't work brew remove it
and then reinstall it. If the install doesn't work, try brew install it --use-gcc
to prevent llvm from getting in the way.
Things that gave me issues that I had to remove and install:
- libxml2
- libxslt
- macvim
- imagemagick
- ghostscript
Let me know if I missed anything.
I've been trying to help a friend with this. It seems to be some kind of account issue on Apple's side.
I can confirm what @uipoet said, the command line tools download is now located under the XCode 4.4 listing on https://developer.apple.com/downloads .
I can login in to the developer downloads and see it there, and XCode also properly downloads it from the Preferences Pane. For my friend, he can't see it in the apple developer download list, nor can he download it in XCode. Odd indeed.
UPDATE - He just tried again and it works.