Xcode错误“找不到开发人员磁盘映像”

本文翻译自: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: 当尝试在Xcode中在连接的iOS设备上运行构建时,出现错误:

Could not find Developer Disk Image 找不到开发人员磁盘映像

错误消息的屏幕截图

I saw that there was a public beta for Xcode, so I installed it. 我看到Xcode有一个公开测试版,所以我安装了它。

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. 新功能之一是您不需要开发人员计划帐户Dingus即可将您的应用程序直接上传到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. 但是,在我的iPhone 4s上,我还对iOS 8.4进行了公开Beta版更新,问题是没有可用的Developer Disk Image。

Where do I to find it or how can it be fixed? 我在哪里可以找到它或如何固定它?


#1楼

参考:https://stackoom.com/question/24y4y/Xcode错误-找不到开发人员磁盘映像


#2楼

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. 我个人下载了Xcode 6.4 beta和7.0 beta,我很高兴通过在6.4 beta的应用程序文件夹中搜索“ 8.4”来找到解决方案。 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. 通过这样做,我找到了包含iOS 8.4映像的文件夹8.4 (12H4125a) ,并将此文件夹复制到了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; 当您重新打开Xcode 7并选择您的设备时,将出现错误消息。 just click on fix issue and that should do it! 只需单击fix issue ,就应该这样做!


#3楼

My problem was with Xcode 7 and Xcode 6.4 beta and iOS 8.4 - device not compatible. 我的问题是Xcode 7和Xcode 6.4 Beta和iOS 8.4-设备不兼容。

In case of the same problem for better understanding how to fix, do next: 如果遇到相同的问题以更好地了解如何解决,请执行以下操作:

  1. Go to /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 转到/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  2. Go to
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSup‌​port/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSup‌port/
  3. Copy folder iOS 8.4 in another folder 将文件夹iOS 8.4复制到另一个文件夹中

在此处输入图片说明

  1. Restart Xcode 重新启动Xcode

#4楼

If you have iOS 9.1 on your phone, just download Xcode 7.1 beta instead of using GM. 如果您的手机上装有iOS 9.1,则只需下载Xcode 7.1 Beta,而不要使用GM。

See Apple's response: Could not find developer disk image for iOS 9.1 请参阅Apple的响应: 找不到iOS 9.1的开发人员磁盘映像


#5楼

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. 对于将来可能会遇到类似问题的人们,请注意,此问题从根本上根源于您的iOS版本和Xcode版本的不匹配。

Check the compatibility of iOS and Xcode. 检查iOS和Xcode的兼容性。


#6楼

I got the same error message (Couldn't find developer disk image) after I updated my devices to iOS 9.2, but forgot to update to Xcode 7.2. 将设备更新为iOS 9.2后,我得到了相同的错误消息(找不到开发人员磁盘映像) ,但忘记更新为Xcode 7.2。

So in my case, the fix was easy: just update to Xcode 7.2 via Mac App Store. 因此,就我而言, 修复很容易:只需通过Mac App Store更新到Xcode 7.2。

发布了0 篇原创文章 · 获赞 7 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/asdfgh0077/article/details/105357257