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

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

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


当前回答

关闭你的反病毒文件屏蔽将有助于我的情况。

虽然从技术上讲,杀毒软件不应该阻止Mac应用商店中的应用程序,但似乎Xcode是一款有自己独特问题的应用程序,这就是为什么在某些情况下禁用杀毒软件是有效的。

其他回答

哦,真的很有用! 我在VMWare Station中使用IOS12.3.1,当我将xcode从13.2更新到13.3时,它卡住了。

附加:我的CPU是i5-9

这是现在每个人在AppStore安装时都会遇到的奇怪行为。而不是从苹果开发者帐户下载所需的xcode版本并安装。

请参考以下链接下载XCode版本。

所有版本的Xcode下载链接。

以上链接包含XCode 1.0至最新版本的下载链接。

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.

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

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

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