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

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

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


当前回答

这让我很沮丧 当我检查控制台时,我觉得我的帐户有问题。 因为我以前改过一次密码。

所以我去了应用商店->我的账户->我必须再次登录。

其他回答

对我来说,@thelawnmowerman提出的解决方案非常有效。

只需要检查当前正在进行的线程的总数。一旦它完成了总数,在几分钟内,xcode可以启动。

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

这是变通方法。

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

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

按“accept”,输入iCloud密码。

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

我的卡了大约3天,即使重新启动也无济于事! 我试图在MacOS Monterey上更新到xcode 13.2.1 我所做的是:

1-打开活动监视器并强制退出“安装”(不确定是否有必要!)

2-打开启动器,按住Option键(让图标晃动),点击xcode角落的x !问我是否要删除应用程序,我确认了,但神奇的是,它留下来了,当我打开它时,它更新到最新版本!所以基本上已经安装好了,只是不知道而已。

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

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.