Xcode 7.1 与 iOS 9.2 错误(找不到开发者磁盘映像)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33885080/
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 7.1 with iOS 9.2 Error (Could not find Developer Disk image)
提问by Movin Jain
I have iOS 9.2 (13C71) installed on my iPhone 5, and I'm enrolled as an Apple Developer.
我的 iPhone 5 上安装了 iOS 9.2 (13C71),并且注册为 Apple 开发人员。
On my Macbook Pro, I have XCode 7.1 and OSX El Capitan.
在我的 Macbook Pro 上,我有 XCode 7.1 和 OSX El Capitan。
When I try to run a project on my phone, is gives the error - "Could not find Developer Disk Image".
当我尝试在手机上运行项目时,出现错误 - “找不到开发者磁盘映像”。
回答by Movin Jain
Found out the answer. Went to Xcode website. They clearly say that Xcode 7.1 does not include iOS 9.2 beta sdk.
找到了答案。去了Xcode网站。他们明确表示 Xcode 7.1 不包含 iOS 9.2 beta sdk。
Upgraded my Xcode to 7.2 beta by downloading it from the Xcode website
通过从Xcode 网站下载将我的 Xcode 升级到 7.2 beta
It works now, and I'm able to run the app on my phone :-)
它现在可以工作了,我可以在手机上运行该应用程序 :-)
Thanks to Muhammadfor the suggestion!
感谢穆罕默德的建议!
回答by Geoffrey Wiseman
It is worth pointing out that Xcode 7.2 is available in the Mac App Storenow. You don't need to go to the Apple Developer site and get a Beta.
值得指出的是,Xcode 7.2 现已在 Mac App Store 上架。您无需前往 Apple 开发者网站并获得 Beta 版。
Having said that, the basic facts haven't changed. If you want to use Xcode and iOS 9.2, make sure to use Xcode to 7.2 or greater.
话虽如此,基本事实没有改变。如果要使用 Xcode 和 iOS 9.2,请确保使用 Xcode 到 7.2 或更高版本。
回答by Paul Lehn
Go to the Mac App Store and:
前往 Mac App Store 并:
-Install the latest version of OSX.
- 安装最新版本的 OSX。
-Install the latest version of Xcode (currently 7.2)
- 安装最新版本的 Xcode(目前为 7.2)
-Restart your Mac
- 重启你的 Mac