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
Xcode upgrade was never quick, but now it takes something like 5 hours here (2020 i7 Macbook Pro). Most of the time it's "stuck" at the end of the installation, as if it does some last extremely costly installation step (optimizing simulator images or whatever).
Downloading it took ~10 minutes, but installing it took well over 1 hour maybe 2 hours.
If your Mac is stuck on Xcode update installation, then don’t worry as you are not the only person who is having this problem. It’s a common problem while installing Xcode from App Store. In this short tutorial, I will try to give you the best possible way to resolve this problem.
Then search for Xcode and then download the Xcode file manually and then try to install it on your machine. Another way is to force quit and relaunch app store. Then click on the updates and try to update Xcode. Leave your machine as it is and wait for it to be installed.
Basic checks Xcode is a large app and when you install it from the Mac App Store, it tends to download a little slowly. Often users are tempted to install it via a torrent but that’s not a good idea as it might have been tampered with. To that end, do not use any other source other than the Mac App Store to download Xcode.
While an anti-virus shouldn’t technically block an app from the Mac App Store, it seems that Xcode is an app with its own unique set of problems which is why disabling the anti-virus works in some cases. The Console is very helpful. It shows that installation is working, albeit slowly.
It updated successfully, after around 5 hours. I just did nothing, just left it there.
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
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.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With