我刚刚更新了我的mac到macOS大苏尔,并试图更新到下一个版本的XCode。它已经以75-80%的速度运行了几个小时:
另外,当我去发射台时,我看到了这个:
其他人有这个问题或知道如何解决它吗?
我刚刚更新了我的mac到macOS大苏尔,并试图更新到下一个版本的XCode。它已经以75-80%的速度运行了几个小时:
另外,当我去发射台时,我看到了这个:
其他人有这个问题或知道如何解决它吗?
当前回答
哦,真的很有用! 我在VMWare Station中使用IOS12.3.1,当我将xcode从13.2更新到13.3时,它卡住了。
附加:我的CPU是i5-9
其他回答
这是现在每个人在AppStore安装时都会遇到的奇怪行为。而不是从苹果开发者帐户下载所需的xcode版本并安装。
请参考以下链接下载XCode版本。
所有版本的Xcode下载链接。
以上链接包含XCode 1.0至最新版本的下载链接。
在将我的MacBook更新到Big Sur并试图将Xcode更新到12.5版本后,也遇到了同样的问题。 尝试重新安装,重启我的Mac,删除应用程序,然后从应用程序商店重新安装。
决定离开安装过夜,它帮助!早上Xcode安装成功。
在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.
我也有同样的问题,对我来说,这个帖子里的提示不管用。我发现的问题是,App Store认为我没有足够的空间,而实际上我有足够的Xcode空间。
要解决“空间”问题,您可以创建一个虚拟文件并直接删除它。这可以让你欺骗你的电脑,你实际上有足够的空间。(与容器有关,阅读这里了解更多信息:https://medium.com/geekculture/installing-xcode-with-not-enough-disk-space-available-b96c8f17115b)
分步指南:
打开终端 移动到你想用cd创建文件的位置,比如cd Documents 现在使用命令mkfile G your-file-name。mkfile 4G mymovie. ext(例如:mkfile 4G mymovie. ext)mov =>将创建一个名为mymovie的电影文件,大小为4GB) 按Enter键,需要一些时间来完成这个过程(取决于文件大小) 当命令完成时,将返回提示符,并创建一个文件。 转到查找器并删除文件。(搬到垃圾桶) 立即重新安装Xcode。
希望对你有帮助。
我使用的是基本款Macbook Air M1 2021 (8 GB RAM)。我下载了Xcode 并使用xip命令安装它。打开终端,输入以下内容:
xip -x ~/file-location
双击文件花费的时间太长,上面的命令花了大约5-8分钟来展开文件。之后,只需将其移动到应用程序文件夹,以便您可以在Launchpad中找到它。
参考答案:https://stackoverflow.com/a/56913909/15425440