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

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

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


当前回答

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.

其他回答

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

最好的方法是在Mac上打开“控制台”(不是终端)应用程序,在搜索栏中输入“app Store”,然后按下“go”按钮

你会开始看到线条进来,你需要让它足够宽,这样你就能看到零件编号,并注意到进度,就像第二张截图一样

你会注意到有些数字移动得很快,有些则需要10分钟,但至少你知道你没有“卡住”!

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

我被困在完成:1000中的808。

这是变通方法。

App store应用程序屏幕的左下方,有一个帐户按钮。

按帐户,然后你会看到你应该接受的信息。

按“accept”,输入iCloud密码。

然后魔法。控制台的应用商店日志数量正在上升。

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

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