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.

Updating Xcode has been really bad already few updates now. This update is simply worse. Our pretty new macmini has been updating xcode for like 1h now and stuck in te 12.58GB step that whole time.

same here, MacBook Air 13" still running the charging wheel anyone has any time frame, maybe any apple answer about this issue?

I had the same problem. First of all, check if any firewall blocks requests from App Store app. Then open the Console/Konsole app and follow the steps that are described in one of answers above to check if the update is really stuck in one of the steps. If the update of Xcode really stucks, first restart your macOS and than open the App Store app again and also watch out the logs in the Console/Konsole app. If this does not help after several minutes, then restart the App Store app again. This helped in my case. Hope that helps you too :)

Tried all the suggestions from the comments above. Didn't work for me. Mine is Mac Mini with M1 chip.

When I tried to installed from command line I got below error:

The archive "Xcode-13.2.1+13C100.xip" is damaged and can't be expanded.

Can Apple please provide a solution for this?

check this out:  https://gist.github.com/tsarenkotxt/32664d7237f799535fb42f706878be79
this helped me fix the "stuck"

This is pretty appalling alright. Its the lack of feedback that is most annoying. I can tell that launch daemon is trying to unzip the downloaded package, which I can see in the Finder, but it takes so long that it is impossible to know it is is stuck or not. The logs are not any good. All I can see is that the last log was that installD was extracting the file, and is running at between 150-300% of CPU. When I sample it is in somewhere in deflate or some copy method. I suspect I can just wait around, that is more than the 30 minutes and counting since it actually downloaded. I see a lot of this:

1995 BOMCopierCopyWithOptions (in Bom) + 1952 [0x1aa886154] + 1995 _copyFromCPIO (in Bom) + 968 [0x1aa8a795c] + 1995 _copyDir (in Bom) + 1708 [0x1aa88a6e0] + 1995 _copyFromCPIO (in Bom) + 968 [0x1aa8a795c]

Most of the solutions here are to download again, but I have a slow enough connection.

Update:

I tried to kill launchD in the hope of running the PKG which I could find from running open /var/log/install.log and see what was being extracted, but get this. If you kill the app, ie launchD, that is not clearly working it will deliberately delete that PKG. They have literally put in code on a SIGTerm to delete something that will maybe help you fix the issue. Maybe to be fair that is to recover disk space, however it means I have to download again. Grrr.

I left my Mac alone to install XCode overnight. The next morning I opened the console, and there were many errors regarding the Applications/Xcode.app/Contents/ After a minute I saw this message in the console:

[UPD8E52C7E7/com.apple.dt.Xcode:497799835] Unable to remove lock xattr on app just updated: Error Domain=NSPOSIXErrorDomain Code=93 "Attribute not found"
Request to set xattr com.apple.appstore.vendor_name on file /Applications/Xcode.app
Received notice that app update is complete: com.apple.dt.Xcode : /Applications/Xcode.app
[Crossfire] Apps installed: [com.apple.dt.Xcode]
[UPD8E52C7E7/com.apple.dt.Xcode:497799835] Finishing with final phase: Finished, current phase Postamble

I do not know what actually has happened, but it seems that the installation is stuck on reviewing the simulators (the more simulators you have, the more time the installation needs to go through them).

Same problem trying to update to Xcode 13.4 on my MacBook Pro (13", M1, 2020). Update was running all night and is stuck. Restarting did not help. Activity monitor shows installd running with 97% CPU. Killing the process and restarting my Mac did not resolve anything either.

Xcode continues to be a steaming pile of "Kot" (German for "excrement").

I saw a hint that since xcode has a huge number of files that an active virus checker can seriously impede performance. After several failues to complete I 'paused' clamav's sentry function until the install completed. Honestly, I don't that was what did it or my constant attention over a long time.

I saw a hint that since xcode has a huge number of files that an active virus checker can seriously impede performance. After several failues to complete I 'paused' clamav's sentry function until the install completed. Honestly, I don't know that was what did it or my constant attention over a long time.

I am using a 2021 macbook pro. I meant to post this but flubbed it, so doing it again.

Come on Apple stop wasting your developer's time. This is not the first Xcode update I have this issue just fix this please.

I noticed that the update takes a long time, and when the screen sleeps, the wifi connection disconnects and the installation gets stuck. 1 - I disabled the screen sleep from battery options https://mackeeper.com/blog/prevent-your-mac-from-sleep/ 2 - I cleared the cache from ~/Library/Caches, 3 - Restarted the machine and tried again. I left the update overnight, internet speed is 100Mbps but still takes hours for update/install. In the morning I found the latest version installed.

Hope this helps.

Had problems with 13.4.1 installing. Over 16 hours and only got to 30% before restarted at a "Install will start shortly" message. Did that many, many times. CPU at over 140%. Turned off Bitdefender after reading another response here, CPU reduced to 60% and the install completed within 30 minutes.

I have solved using DevCleaner, but then needed to reinstall Xcode, it's very tedious and annoying but at least working.

P.S. xcode is a pure example of bad coding.

If you are stuck at something like "Installing 7.49GB of 7.49GB" or in console progress of App Store - 999/1000, just open Xcode using Spotlight. It will install the command line tools, which is the remaining 1/1000, I suppose. That's it :)

Xcode 13.2 update is stuck
 
 
Q