Xcode error “Could not find Developer Disk Image”

2019-01-01 12:26发布

问题:

When attempting to run a build on a connected iOS device in Xcode I get the error:

Could not find Developer Disk Image

\"Screenshot

I saw that there was a public beta for Xcode, so I installed it.

One of the new features is that you don\'t need to have a Developer Program Account Dingus to upload your app directly to your iPhone.

However, on my iPhone 4s, I also did a public beta update to iOS 8.4, problem being, that there\'s no Developer Disk Image available for it.

Where do I to find it or how can it be fixed?

回答1:

I am facing the same issue on Xcode 7.3 or Older version of your Xcode and my device version is iOS 10 or newer version of your OS.

This error is shown when your Xcode is old and the related device you are using is updated to latest version. First of all, download the latest Xcode Version. No Need to install the latest Xcode.

We can solve this issue by following the below steps:

  • Right click on Xcode 8 or Newer version of your Xcode, select \"Show Package Contents\", \"Contents\", \"Developer\", \"Platforms\", \"iPhoneOS.Platform\", \"Device Support\"
  • Copy the 10.0 folder (or above for later version).
  • Back in Finder select Applications again
  • Right click on Xcode 7.3 or version of your Xcode, now select \"Show Package Contents\", \"Contents\", \"Developer\", \"Platforms\", \"iPhoneOS.Platform\", \"Device Support\"
  • Paste the 10.0 folder (or above for later version).

Now your Xcode has a new developer disk image. Close the finder now, and quit your Xcode. Open your Xcode and the error will be gone. Now you can connect your latest device to old Xcode versions.

OR

If you can\'t download the latest Xcode, you can get the latest Developer Disk Image for your Xcode from this link:-

How to download Xcode DMG or XIP file?

Thanks to @Hailei for their answer. So that people can download the latest DMGs.



回答2:

For people who would have similar problems in the future, beware that this problem is fundamentally rooted in the mismatch of your iOS version and Xcode version.

Check the compatibility of iOS and Xcode.



回答3:

I personally downloaded Xcode 6.4 beta and 7.0 beta and I was very happy to find the solution by searching \"8.4\" inside the application folder of the 6.4 beta. By doing this, I found the folder 8.4 (12H4125a) containing the iOS 8.4 image and I copied this folder to the same path of the 7.0 beta. The path is the following:

/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 

When you will reopen Xcode 7 and choose your device, there will be an error message; just click on fix issue and that should do it!



回答4:

This error occurs when the version of Xcode predates that of the device.

For example, attempting to run a build on a device running iOS 9.3 in Xcode 7.2 results in this error; Could not find Developer Disk Image.

Why an error message that actually describes what the hell is going on can\'t be provided is beyond me (Apple, I\'m looking at you

标签: ios iphone xcode