Xcode 6.4“无法下载并安装iOS 8.3模拟器” [英] Xcode 6.4 "Could not download and install iOS 8.3 simulator"

查看:214
本文介绍了Xcode 6.4“无法下载并安装iOS 8.3模拟器”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试安装iOS模拟器8.3& 8.4分别在Xcode 6.3.2和6.4 beta上。在第一种情况下甚至没有下载此模拟器的选项,而在Xcode 6.4中它显示错误无法下载和安装iOS 8.3模拟器。安装软件包需要授权。我在网上搜索过但我找不到任何东西,所以我尝试从Apple开发者网站以及应用程序商店重新安装Xcode而不做任何改动。我唯一可以使用的模拟器是8.2。我无法安装任何其他版本。任何帮助都会非常感激。

I've been trying to install iOS simulators 8.3 & 8.4 on Xcode 6.3.2 an 6.4 beta respectively. In the first case is not even an option to download this simulator while in Xcode 6.4 it shows an error "Could not download and install iOS 8.3 Simulator. Authorization is required to install the packages". I've searched the web but I could not find anything so I tries reinstalling Xcode from Apple developer website as well as from the app store with no change at all. The only simulator I can use is 8.2. I cannot install any other version. Any help would be really appreciated.

这是Xcode 6.4上的错误,没有iOS 8.4模拟器的额外选项

This is the error on Xcode 6.4 with no additional option of iOS 8.4 Simulator

这些是我下载的模拟器选项导致该错误

These are the simulator options for me to download which result in that error

这些是我在Xcode 6.3.2中的选项没有iOS 8.3的选项

These are my options in Xcode 6.3.2 with no option for iOS 8.3

推荐答案

我找到了解决方法在Apple论坛上。如果您使用 sudo 运行Xcode,模拟器下载并安装工作就好了:

I found a workaround on the Apple forums. If you run Xcode using sudo the simulator downloads and installs work just fine:

sudo /Applications/Xcode.app/Contents/MacOS/Xcode

注意:一旦下载和安装完成后你应该退出Xcode并正常启动。

Note: Once the downloads and installs are complete you should quit Xcode and start it normally.

这篇关于Xcode 6.4“无法下载并安装iOS 8.3模拟器”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆