Xcode 6 安装卡住了
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25956837/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 6 Installation got stuck
提问by slonkar
I'm having weird issues with Xcode. I am trying to install the new Xcode 6 from the Mac App Store, but it got stuck at "4 minutes remaining".
我在使用 Xcode 时遇到了奇怪的问题。我正在尝试从 Mac App Store 安装新的 Xcode 6,但它卡在“剩余 4 分钟”。
Earlier I had Xcode6 GM which was working perfectly fine. I thought of downloading the new version from the App Store so I deleted the GM.
早些时候我有 Xcode6 GM,它工作得很好。我想从App Store下载新版本所以我删除了GM。
Did anybody else have the same issue?
有没有其他人有同样的问题?
采纳答案by Mike Gledhill
I had the same problem.
我有同样的问题。
Forgive the cliche, but I had to "turn it off, then on again" (reboot the MacBook) and only then could I re-click on the "Install" button, and it'd start downloading XCode, from scratch.
原谅陈词滥调,但我不得不“关闭它,然后再次打开”(重新启动 MacBook),只有这样我才能重新单击“安装”按钮,它会从头开始下载 XCode。
Previously, using the App Store "Check for unfinished downloads" just told me that I didn't have any downloads pending, yet in the App Store app, it had XCode stuck in the "Installing" state.
以前,使用 App Store 的“检查未完成的下载”只是告诉我我没有任何待处理的下载,但在 App Store 应用程序中,它让 XCode 停留在“正在安装”状态。
Update
更新
It's that time again. iOS 8.4 has been released, but you can only get XCode to connect to an iOS 8.4 device if you've upgraded to XCode 6.4... but you can only do thatif you've upgraded OS X to the latest version. Thanks, Apple.
又到了那个时候。iOS 8.4 已经发布,但如果你已经升级到 XCode 6.4,你只能让 XCode 连接到 iOS 8.4 设备......但你只能在将 OS X 升级到最新版本后才能做到这一点。谢谢,苹果。
And as usual, download times are appalling, even if (like me), you've waited a few weeks until after the release, to avoid the rush.
和往常一样,下载时间令人震惊,即使(像我一样),你已经等了几个星期直到发布后,以避免匆忙。
And when you finally doget to click on the Update
button in App Store to update XCode, it changes to "Installing" but actually, it's busy spending the next few hours downloading, rather than installinganything.
而当你终于做去点击Update
在App Store的按钮更新的XCode,它更改为“安装”,但实际上,它是忙碌花接下来的几个小时内下载,而不是安装任何东西。
You have to keep an eye on the download bar, just below the Launchpad icon on the taskbar, to check how far the painfully-slow download has got...
您必须留意下载栏,就在任务栏上 Launchpad 图标的下方,以检查缓慢的下载已经走了多远......
I'm really not impressed.
我真的没有印象。
回答by Steve
I quit App Store, then searched for XCode in my Applications folder, clicked it, after a few seconds the download status vanished and I was able to click it again and open the app.
我退出 App Store,然后在我的应用程序文件夹中搜索 XCode,单击它,几秒钟后下载状态消失,我能够再次单击它并打开应用程序。
回答by karolus
If it's any help, I was in Software Update this morning updating to Xcode 6.2. For several minutes, the installer was also stuck at the 4 minutes remaining mark, and then started changing the time remaining (swapping between longer and shorter intervals). From what it looks like, this is a UI issue (probably not estimating all the time it takes to install all components), more than anything else...
如果有任何帮助,我今天早上在软件更新中更新到 Xcode 6.2。几分钟后,安装程序也停留在剩余 4 分钟标记处,然后开始更改剩余时间(在更长和更短的间隔之间切换)。从表面上看,这是一个 UI 问题(可能没有估计安装所有组件所需的所有时间),最重要的是...
回答by Vito
After clicking Install on Xcode in the App Store I got a busy-indicator in the App Store window for a few seconds and then nothing, it still just read "Install" after leaving it sit overnight.
在 App Store 中单击“在 Xcode 上安装”后,我在 App Store 窗口中看到一个忙碌指示符几秒钟,然后什么也没有,它仍然只是在放置过夜后读取“安装”。
However, I was able to download the latest version of Xcode as a .dmg
file at https://developer.apple.com/downloads. The installation process was smooth from there.
但是,我可以.dmg
在https://developer.apple.com/downloads下载最新版本的 Xcode 作为文件。从那里安装过程很顺利。
回答by Antonin
In App Store, try "Store" menu -> "Check for unfinished downloads..."
在 App Store 中,尝试“商店”菜单 ->“检查未完成的下载...”
回答by Skywalker
I got the same problem. I updated to the last version of OSX, and then the update came automatically as a a result of that update.
我遇到了同样的问题。我更新到最新版本的 OSX,然后由于该更新而自动更新。
回答by Kaey
回答by Justin Case
I had a similar problem. Mine was stuck on "Paused". To fix it, I went to "Applications" (command-click the old version in dock -> gets you there faster) and moved to trash the Xcode app that was 337 kb in size. Then rebooted, went to the App Store and started the installation again. Turns out mine was "paused" on 2.27 gb (though I simply left my mac unattended, since the download was taking forever, and returned hours later).
我有一个类似的问题。我的卡在“暂停”状态。为了修复它,我转到“应用程序”(命令单击 Dock 中的旧版本 -> 使您更快到达那里)并移至垃圾箱大小为 337 kb 的 Xcode 应用程序。然后重新启动,转到App Store并再次开始安装。结果我的 mac 在 2.27 gb 上“暂停”了(虽然我只是让我的 mac 无人看管,因为下载需要很长时间,并在几个小时后返回)。
Hope this helps someone, as I could not find an answer to this myself anywhere else.
希望这对某人有所帮助,因为我自己在其他任何地方都找不到答案。
回答by Knutdag
Apple should really consider having some more indication of install progress. Hard seeing any progress with the bar alone when installations exceed a certain amount of time. But then again I see apples security considerations indicating more detailed logging of the progress. I guess they oversee the few situations when updates are in the gigabyte range.
苹果真的应该考虑有更多的安装进度指示。当安装超过一定时间时,很难看到单独使用酒吧的任何进展。但是我再次看到苹果的安全考虑表明更详细的进度记录。我猜他们会监督更新在千兆字节范围内的少数情况。
It may seem like a cancellation of the install , and going on for a second time, gives a faster install. But I would guess thats only because some of the install progress is cached.
看起来像是取消安装,然后第二次进行,可以加快安装速度。但我猜那只是因为一些安装进度被缓存了。
My tip is; wait it out.
我的建议是;等一下。