Xcode update stuck after updating macOS

73,881

Solution 1

It updated successfully, after around 5 hours. I just did nothing, just left it there.

Solution 2

It is painfully slow when it comes to the 'Installing' stage.

Based on the log from console, it does not look like it is spinning empty.

For example, progress from 94.67% to ...

enter image description hereenter image description here

... 94.83% took almost 20 sec

Solution 3

A lot of the pain of updating XCode from the App Store can be avoided by downloading the latest version from the Apple Developer website directly (including beta versions if you are into them). Use this Apple Developer link.

For more information see this Ask Different answer.

Solution 4

I think there's a download running in background which would explain this waiting time. I restarted a few times my Macbook pro, and ended up waiting until it ran the update successfuly.

When you make an XCode update, you have to do it when you have free time ahead, not during rushes, you never know how much time it can take

Solution 5

I also had problems with updating Xcode even after deleting it and trying to install it again via the App Store. For me it helped to switch to the Purchased tab in the App Store and cancelling all the other downloads (by pressing Alt / Option and then clicking Cancel). Then the download of Xcode started, hope this helps!

Share:
73,881

Related videos on Youtube

quanguyen
Author by

quanguyen

Updated on January 25, 2022

Comments

  • quanguyen
    quanguyen over 2 years

    After updating macOS,

    enter image description here

    I cannot update XCode anymore:

    enter image description here

    enter image description here

    I have been waiting for 2 hours but AppStore does not update.

    How do I restart the Xcode update process from the beginning?

    Regards

    • l'L'l
      l'L'l about 6 years
      You can download the .xip directly → Xcode_9.3.xip
    • pixel
      pixel almost 6 years
      same problem, High Sierra 10.13.4 XCode 8.2 (8C38)
  • Ali Beadle
    Ali Beadle about 6 years
    Sorry to hear you are having problems. I updated to XCode 9.3 from the Dev link provided last week though and had no problems. Updating High Sierra first was a pain, but not XCode itself.
  • EULinguist
    EULinguist about 6 years
    Yes, I also filed a bug directly with Apple Developer platform and will update this issue, once they reply. They require more deets. Thank you for your comment though very much appreciated.
  • Ashok R
    Ashok R over 5 years
    xcrun simctl erase all. i did this too.
  • Ash
    Ash about 5 years
    Lol, well this certainly is an answer.
  • Evgenia Karunus
    Evgenia Karunus over 4 years
    How did you find this console?
  • Anthony Kong
    Anthony Kong over 4 years
    Just search for 'Console' in Spotlight (support.apple.com/en-us/HT204014)
  • Evgenia Karunus
    Evgenia Karunus over 4 years
    Thanks! Did you filter by the process name somehow? appstoreagent and storedownloadd don't seem to return any logs.
  • Anthony Kong
    Anthony Kong over 4 years
    well, you can always try xcode I suppose? It's too long ago I don't remember.
  • George Pantazes
    George Pantazes over 4 years
    I filtered by the storedownload process was returning logs for me. Also using caffeinate caffeinate -w <pid>, I made sure the computer didn't turn off during the long wait time.
  • Sébastien
    Sébastien over 4 years
    Can you still use App Store update after installing it like this?
  • João Rodrigues
    João Rodrigues about 4 years
    Ouch!!! Really slow... I'm using a 300+-Mbs Download internet connection and this is what I'm getting: 896 / 1000 - After 1 minute 898 / 1000... Really slow process.
  • lenz
    lenz over 3 years
    That 'console' comment just saved my sanity after 3 reboots! I thought nothing was happening. Thanks a lot @Anthony Kong
  • Tarvo Mäesepp
    Tarvo Mäesepp over 3 years
    @Sébastien Nope, you can not.
  • MangoLassi
    MangoLassi over 3 years
    Xcode 12.3 took about 45 minutes to get to the last sliver of the progress wheel, then it sat with that tiny little bit left doing nothing for another 45 minutes before finally finishing. This answer kept me patient.
  • P5music
    P5music about 3 years
    yes I kept awaiting and it went to completion
  • Wedge Martin
    Wedge Martin almost 3 years
    You can also just open a terminal and tail -f /var/log/install.log
  • Jujuba
    Jujuba over 2 years
    Same for XCode 13.