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?
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!
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.
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