Science, Technology and Life

Xcode Failed to Download Use the Purchases Page to Try Again

| Comments

The following day after the release of iOS 7, I started update my iphone 4s to get to know how exactly the ios 7 is. My iphone successfully updated even though it was quite annoying with slow internet connection :( .

The next thing is updating my Xcode, since I got a notification to update my xcode from version 4.6.3 to version 5.0 via app store of version 1.2.2. My OSX version is 10.8.5. While updatig process, several times I got error message Xcode failed to download use the purchases page to try again, and my download prosess suddenly stopped. Googling on internet and asking forum got many different suggestion and solution. Thankfully one of them success that is by clearing appstore download cache.

The steps to get things to work are quite simple.

  1. Keep the AppStore App open. Open terminal and type
    cd /private/var/folders/
    Once there, search for
    find . | grep
    You will find folder structure like this ./40/lhn22jn901zdw2bpf82hkggw0000gn/C/
  2. Once inside the folder, open it in finder
    open .
  3. While keeping AppStore open, remove this folder
    rm -rf *
  4. Now, go back to AppStore and click on Download again.
  5. If download/update disappear, close the appstore then reopen it.

That steps worked well to me. Good luck and have a nice day.