Xcode error "Could not find Developer Disk Image"

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

Could not find Developer Disk Image

错误消息的屏幕截图

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?


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.


    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.


    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!

    链接地址: http://www.djcxy.com/p/28254.html

    上一篇: 图像和文本按钮使用自动布局约束垂直对齐

    下一篇: Xcode错误“无法找到开发者磁盘映像”