我刚刚更新了我的mac到macOS大苏尔,并试图更新到下一个版本的XCode。它已经以75-80%的速度运行了几个小时:

另外,当我去发射台时,我看到了这个:

其他人有这个问题或知道如何解决它吗?


当前回答

确认13.2和13.2.1中也有。查看顶部答案中的控制台应用程序将显示何时完成

其他回答

我遇到了完全相同的情况,我更新了MacOS,然后更新了Xcode到12.5.1,它卡在7.2GB的7.2GB。我离开它4个小时什么都没有发生(但在活动监视器“安装”正在工作)。我把它放了一晚上,到早上它自己就好了。

在将我的MacBook更新到Big Sur并试图将Xcode更新到12.5版本后,也遇到了同样的问题。 尝试重新安装,重启我的Mac,删除应用程序,然后从应用程序商店重新安装。

决定离开安装过夜,它帮助!早上Xcode安装成功。

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

在Ventura上尝试更新到Xcode 14.1近24小时后,我最终丢弃了Xcode应用程序,重新启动,只启动了App Store,并进行了新的安装,将App Store留在前台。它在我的M1 Mac mini上下载了(20分钟内大约7gb),不到一个小时就完成了安装。

背景:

After updating to Ventura, there was an update to Xcode 14.1 in the App Store. As with previous versions, I had trouble installing it. This time though, the install would progress to 61% (seen by hovering the mouse over the spinning circle in App Store), then stay there. Filtering for ASDAppQuery in the Console, as suggested in other answers, showed progress for a while, but then also stopped. The installd process was still using a lot of CPU. However, after a while it would stop doing so. It seemed that the App Store app would stop, and a couple of times I checked Activity Monitor and saw that it was in "App Nap" mode. After waking up again, the appstoreagent would run at 95% CPU (one core) for a while, followed by installd running again, at around 300% CPU. This cycle continued, but with no progress. I tried leaving it overnight, but in the morning it was in the same state: neither appstoreagent nor installd doing anything, but then seeming to wake up and grind away again, but making no progress. I had also tried quitting the App Store and starting again, but the same kept happening - going to 61%, then spinning away with no progress indication. Finally, I decided to trash Xcode, reboot, and install - that worked quickly and flawlessly.

我在M1 macbook pro上更新了Xcode,有很多内存和SSD, MacOS 12.1从12.2升级到12.3。花了4.5个小时。所以耐心和观察日志是有帮助的。