Xcode update stuck after updating macOS
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 ...
... 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!
Related videos on Youtube
quanguyen
Updated on January 25, 2022Comments
-
quanguyen over 2 years
After updating macOS,
I cannot update XCode anymore:
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 about 6 yearsYou can download the
.xip
directly → Xcode_9.3.xip -
pixel almost 6 yearssame problem, High Sierra 10.13.4 XCode 8.2 (8C38)
-
-
Ali Beadle about 6 yearsSorry 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 about 6 yearsYes, 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 over 5 years
xcrun simctl erase all
. i did this too. -
Ash about 5 yearsLol, well this certainly is an answer.
-
Evgenia Karunus over 4 yearsHow did you find this
console
? -
Anthony Kong over 4 yearsJust search for 'Console' in Spotlight (support.apple.com/en-us/HT204014)
-
Evgenia Karunus over 4 yearsThanks! Did you filter by the process name somehow?
appstoreagent
andstoredownloadd
don't seem to return any logs. -
Anthony Kong over 4 yearswell, you can always try
xcode
I suppose? It's too long ago I don't remember. -
George Pantazes over 4 yearsI filtered by the
storedownload
process was returning logs for me. Also using caffeinatecaffeinate -w <pid>
, I made sure the computer didn't turn off during the long wait time. -
Sébastien over 4 yearsCan you still use App Store update after installing it like this?
-
João Rodrigues about 4 yearsOuch!!! 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 over 3 yearsThat 'console' comment just saved my sanity after 3 reboots! I thought nothing was happening. Thanks a lot @Anthony Kong
-
Tarvo Mäesepp over 3 years@Sébastien Nope, you can not.
-
MangoLassi over 3 yearsXcode 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 about 3 yearsyes I kept awaiting and it went to completion
-
Wedge Martin almost 3 yearsYou can also just open a terminal and
tail -f /var/log/install.log
-
Jujuba over 2 yearsSame for XCode 13.