Xcode error “Could not find Developer Disk Image”

2019-01-01 12:06发布

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

Could not find Developer Disk Image

Screenshot of error message

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?

标签: ios iphone xcode
22条回答
零度萤火
2楼-- · 2019-01-01 12:08

This problem is fundamentally rooted in the mismatch of your iOS version and Xcode version.

Check the compatibility of iOS and Xcode.

Go To Application folder (In finder) -> right click on Xcode -> click on show package contents -> Double click contents folder -> Double click developers folder -> Double click platforms folder -> Double click iPhoneOS.platform folder -> Double click device support folder -> then add latest developer disk image.

Or

Download Latest version of Xcode.

查看更多
闭嘴吧你
3楼-- · 2019-01-01 12:09

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.

查看更多
梦该遗忘
4楼-- · 2019-01-01 12:09

I have also faced this issue, and I'm on Xcode 7.2.

It appeared when I downloaded iOS 9.3.

Check your Project -> Base SDK and if it isn't the same or ahead of your device version, then that's the issue.

I didn't see anything in the "Updates" section, but when I searched "Xcode" in the App Store it had an update for 7.3. Upgrading to iOS 9.3 and Xcode 7.3 requires Mac OS X v10.11 (El Capitan) for Xcode to run, and that's why auto update isn't upgrading Xcode versions.

查看更多
倾城一夜雪
5楼-- · 2019-01-01 12:10

I have experienced the same issue:

Could not find Developer Disk Image

My Xcode version was 7.0.1, and I updated my iPhone's version to 9.2, and upon using Xcode I ran into this problem.

The solution is pretty simple: Just download the latest version of Xcode 7.2 which was released on 8 Dec, 2015 and install it. Everything works fine for you as it was before.

Note: The actual problem is your Xcode version is not compatible/outdated with the version on your device.

查看更多
公子世无双
6楼-- · 2019-01-01 12:11

If you're using old Xcode and want to run onto devices with new version of iOS, then do this trick. This basically make a symbolic link from iOS Device Support in new Xcode to old Xcode

https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d

For Xcode 9.0 beta and iOS 11.0 beta (name your Xcode9.app for Xcode 9 beta and Xcode.app for Xcode 8)

sudo ln -s "/Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0\ \(15A5278f\)" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
查看更多
梦寄多情
7楼-- · 2019-01-01 12:12

If you have iOS 9.1 on your phone, just download Xcode 7.1 beta instead of using GM.

See Apple's response: Could not find developer disk image for iOS 9.1

查看更多
登录 后发表回答