Xcode 7.1 with iOS 9.2 Error (Could not find Developer Disk image) [duplicate]

早过忘川 提交于 2019-11-27 22:58:34

问题


This question already has an answer here:

  • “Could not find Developer Disk Image” 9 answers

I have iOS 9.2 (13C71) installed on my iPhone 5, and I'm enrolled as an Apple Developer.

On my Macbook Pro, I have XCode 7.1 and OSX El Capitan.

When I try to run a project on my phone, is gives the error - "Could not find Developer Disk Image".

Does anyone know what's wrong?


回答1:


Found out the answer. Went to Xcode website. They clearly say that Xcode 7.1 does not include iOS 9.2 beta sdk.

Upgraded my Xcode to 7.2 beta by downloading it from the Xcode website

It works now, and I'm able to run the app on my phone :-)

Thanks to Muhammad for the suggestion!




回答2:


It is worth pointing out that Xcode 7.2 is available in the Mac App Store now. You don't need to go to the Apple Developer site and get a 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.




回答3:


Go to the Mac App Store and:

-Install the latest version of OSX.

-Install the latest version of Xcode (currently 7.2)

-Restart your Mac



来源:https://stackoverflow.com/questions/33885080/xcode-7-1-with-ios-9-2-error-could-not-find-developer-disk-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!