When 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
4 Answers
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.
- /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/version.plist
- /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
- /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/9.3 (13E230)
This work for me.
To 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.
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):