Friday, 14 September 2012

Can't install Xcode from Mac App Store

I needed to do some iOS development yesterday which required direct testing on my iPhone, but since I last connected my phone to Xcode it's OS has been updated which means I need the new iOS SDK, which comes with Xcode.

So I went to the Apple Developer centre, found the download link that opens up the Mac App Store, clicked the 'Install' link and literally nothing happened. No error messages, no download....nothing.

After some googling I pieced together some bits of advice from around the interweb and finally fixed it by typing the following into my terminal, then deleting my existing and Install, and then fully restarting my machine. None of these steps worked on their own, or without the restart!

rm ~/Library/Preferences/
rm -r ~/Library/Saved\ Application\ State/
rm -r ~/Library/Caches/
rm -r /private/var/folders/*/*/*/

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!