Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode update stuck after updating macOS

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

like image 663
quanguyen Avatar asked Mar 31 '18 04:03

quanguyen


People also ask

How long does Xcode take to update?

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).

How long does it take to install Xcode on Mac?

Downloading it took ~10 minutes, but installing it took well over 1 hour maybe 2 hours.

Is your Mac stuck on Xcode update installation?

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.

How to fix XCode not working on Windows 10?

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.

Why is Xcode taking so long to download?

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.

Does disabling the Anti-Virus Block Xcode from the Mac App Store?

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.


4 Answers

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

like image 81
quanguyen Avatar answered Oct 31 '22 02:10

quanguyen


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

like image 42
Anthony Kong Avatar answered Oct 31 '22 04:10

Anthony Kong


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.

like image 36
Ali Beadle Avatar answered Oct 31 '22 04:10

Ali Beadle


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!

like image 32
Mitemmetim Avatar answered Oct 31 '22 04:10

Mitemmetim