31

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?enter image description here

Movin Jain
  • 777
  • 1
  • 6
  • 15

3 Answers3

32

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!

Community
  • 1
  • 1
Movin Jain
  • 777
  • 1
  • 6
  • 15
9

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.

Geoffrey Wiseman
  • 5,459
  • 3
  • 34
  • 52
2

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

Paul Lehn
  • 3,202
  • 1
  • 24
  • 29
  • Downloading 'the latest' isn't always a wise strategy with software - as one may run into all kinds of issues that have not been thoroughly tested. As others have mentioned, the correct thing to do is check the requirements and supported levels first - then download what you really need. – user3741598 Apr 27 '16 at 16:58