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

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

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


当前回答

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

这是变通方法。

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

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

按“accept”,输入iCloud密码。

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

其他回答

虽然它不会加速,但在Mac App Store中,你应该会在Xcode中看到旋转的轮子-将光标放在轮子上,你应该会看到安装进度(例如52%)。

如果它没有移动,取消Xcode安装并重新开始。

如果(像我一样)你只需要命令行工具,你可能想尝试一下:

强制退出安装(使用ActivityMonitor或ps -kill) 从终端命令行运行xcode-select——install

为我工作!

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

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

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.

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

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

所有版本的Xcode下载链接。

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