Xcode 13.2 update is stuck

I am trying to update XCode to 13.2 on Monterey. It's stuck at "Installing 7.49GB of 7.49GB" (been for a while...). I tried rebooting the mac and and the install is still stuck.

Reported issue on Feedback assistant (number FB9808696).

What can I do?

Previous version of XCode still runs ok.

This is still an issue for me, 2022 MacBook Air M2, 512/24. More than 290 GB free.

Just wanted to mention that booting into Safe Mode does absolutely nothing to speed things along in my experience, I restarted into Safe Mode thinking I could save hours from some comments I saw earlier in the thread and it was a huge waste of time. I should have just left the thing going and not rebooted the computer. Hopefully I can save someone else the same inconvenience!

I don't understand why Apple doesn't improve this experience, it is so confusing to so many people to have a complete lack of feedback for hours at a time.

Same issue for me updating to XCode 14.0 through the app store.

MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)

Processor: 2.3 GHz Quad-Core Intel Core i7

Memory: 32 GB 3733 MHz LPDDR4X

1.34 TB of free disk space

I've made it up to Completed: 943 of 1000 now after several hours already and there is no way to stop the installation in the app store. Just a spinning progress wheel with nothing happening when I click it.

My new MacBook Air M2 was struggling with downloading and installing Xcode. The problem, I think, was that the laptop sleeps after a short period of time and that stops the download/install process. Download/install restarts at 80% or 0% when the laptop is reawakened - repeat. A simple way to avoid the laptop from sleeping is to open the Terminal application (Application/Utilities/Terminal) and type "caffeinate". That prevents the laptop from sleeping and lets the download/install process complete itself. When done type control-c into the Terminal and it will quit caffeinate.

I also had the issue on a MacBook 13" M1 and Monterey 12.6 / Xcode 14. It was a nightmare, it took me two days of countless retries!

In the console log I could see it kept failing with the following message:

[ASServiceBroker]: Connection interrupted
LaunchPad:-[LPAppManager(StoreSupport) _acceptStoreConnection:]_block_invoke app store xpc message error: Connection invalid
got event: Connection interrupted

But it was not only an issue of sleep because I was using my computer while updating. I was using VSCode at the same time, which was trying to call git, not working since packaged with Xcode which is unavailable during the update... So I stopped using the computer and did the update with the recommendations I could see on previous posts:

  • plug the computer (this time I used the Apple power adapter and not the USB C cable from my external screen)
  • In battery settings --> Power Adapter --> I ticked "Prevent your Mac from automatically sleeping when the display is off"

It was long but finally it worked!

I did not try caffeinate as recommended in previous post but it could be a good alternative to altering power settings.

Previously I also tried to restart the updating process (kill it, delete Xcode, restart, clear app store cache) but apart re-downloading 12gb it did not seem to help much!

The AppStore update takes forever to complete. It is better to download and install Xcode from the developer portal. I also wrote a blog post about it here: https://dirkstrauss.com/xcode-stuck-updating-m1-macbook-pro/

Same situation. What I did was command + space, searched xcode, opened the application, then the installation suddenly completed itself.

This still happens on ventura with Xcode 14.2 it is a very annoying bug that apple.. never fix.

Click Store->reload page.

Xcode 13.2 update is stuck
 
 
Q