Xcode 更新极慢
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/32665958/
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 updating is extremely slow
提问by Dmitriy Stupivtsev
After updating my gadgets with iOS 9 I've tried to update Xcode to Xcode 7 on my Mac through the App Store, but updating is too slow while speedtest.net shows that my download speed is about 30 mbps. What to do?
使用 iOS 9 更新我的小工具后,我尝试通过 App Store 将 Mac 上的 Xcode 更新为 Xcode 7,但更新速度太慢,而 speedtest.net 显示我的下载速度约为 30 mbps。该怎么办?
回答by Nishant
回答by Joe Haddad
I had the same issue downloading Xcode 7.2. The download was drastically slow compared to my internet download speed. Try this fix it worked for me:
我在下载 Xcode 7.2 时遇到了同样的问题。与我的互联网下载速度相比,下载速度非常慢。试试这个修复它对我有用:
I noticed a huge increase in the download speed from 1d to 1h. Maybe it has to do with apple finding the nearest server according to your account location or some routing magic.
我注意到下载速度从 1 天大幅增加到 1 小时。也许这与苹果根据您的帐户位置或一些路由魔术找到最近的服务器有关。
回答by Sander
Strangely enough, the fix for me was downloading the .xip file in Safari. It seems that the download was capped to 100KB/s on Google Chrome, using Safari there seemed to be no network throttle.
奇怪的是,我的修复方法是在 Safari 中下载 .xip 文件。Google Chrome 上的下载速度似乎限制在 100KB/s,使用 Safari 似乎没有网络限制。
回答by zeeawan
In my case, I was running out of Disk space on main partition as I have partitions on my Hard Drive and all these partitions act as different drives. By sparing a couple of GBs, the download speed got to normal.
就我而言,我的主分区上的磁盘空间不足,因为我的硬盘驱动器上有分区,并且所有这些分区都充当不同的驱动器。通过节省几 GB,下载速度恢复正常。
回答by Cristian Merli
I had the same issue, the update ran forever and never finished. I uninstalled Xcode and when i tried to install it again it said I needed the OS X 10.12 at least.
我遇到了同样的问题,更新永远运行并且从未完成。我卸载了 Xcode,当我再次尝试安装它时,它说我至少需要 OS X 10.12。
So i upgraded OS X and then installed Xcode 8.3
所以我升级了 OS X 然后安装了 Xcode 8.3
I wish the update told me that before i wasted 2 days trying to figure it out.. Hope it helps!
我希望更新告诉我,在我浪费 2 天试图弄清楚之前.. 希望它有所帮助!
回答by Yunus Nedim Mehel
If you're downloading from your office network, try switching to another. This might be happening because of the security measures, an internal DNS resolver as I am told, or a firewall; so it's hard to tell what's happening but switching to the "guest" network allowed me to download it pretty fast in my case.
如果您是从办公网络下载,请尝试切换到另一个网络。这可能是由于安全措施、我听说的内部 DNS 解析器或防火墙造成的;所以很难说发生了什么,但是切换到“访客”网络让我可以非常快地下载它。
Although it's unlikely that your problem is caused by this, but you can check the Apple systems status on this page.
虽然您的问题不太可能是由此引起的,但您可以在此页面上查看 Apple 系统状态。