Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Could not find Developer Disk Image" run error

enter image description hereWhen I try to run an app on connected iPhone I get the error: "Could not find Developer Disk Image" I am not registred Apple Developer right now, but you wouldn't need that in xcode 7 would you? I Just updated xcode to version 7.2.1 and my iPhone (6 plus) is running iOS 9.3

like image 615
Julius Pallesen Avatar asked Feb 05 '16 21:02

Julius Pallesen


4 Answers

Xcode 7.2.1 currently only supports up to iOS 9.2

9.3 is in beta, and requires Xcode 7.3, which is currently also in beta. You can download from the developer portal. You won't need to be a paid developer to do this.

like image 199
dc. Avatar answered Oct 19 '22 01:10

dc.


The easiest way is update your OS and XCode but if you have some reason to stick with Yosemite 10.10.5 Xcode 7.2.1, You can use this copy and paste trick to make it work. Just download Xcode 7.3.1 GM seed and here are files you need to copy and replace the old one.

  1. /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/version.plist
  2. /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
  3. /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.3 (13E230)

This work for me.

like image 43
katopz Avatar answered Oct 19 '22 01:10

katopz


enter image description hereTo run your project from your latest Xcode version to latest iOS device follow the following steps :

Go To Finder -> Applications -> Right Click on latest Xcode version -> select show package content -> Developer -> Platforms -> iPhoneOS.platform -> DeviceSupport -> Copy the latest version folder and paste at the same location of your old Xcode i.e in the DeviceSupport folder of your old Xcode.

Then Restart Xcode.

like image 2
Swati Gupta Avatar answered Oct 18 '22 23:10

Swati Gupta


As opposed to running your project on the simulator, when you run it on the device, you must make sure your version of Xcode supports the version of the beta you have (most likely, it would not).

You can easily just check your target and click on the "General" tab. Under the "Deployment Info" section, select the "Deployment Target" drop-down menu and you will see the versions your version of Xcode supports (as shown below): Xcode Deployment Target Dropdown

like image 1
MobileMagnet Avatar answered Oct 18 '22 23:10

MobileMagnet