Xcode错误“无法找到开发人员磁盘映像” [英] Xcode error "Could not find Developer Disk Image"

查看:142
本文介绍了Xcode错误“无法找到开发人员磁盘映像”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试在Xcode中连接的iOS设备上运行构建时,我收到错误:

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


找不到开发人员磁盘映像

Could not find Developer Disk Image

< img src =https://i.stack.imgur.com/AWRcs.pngalt =错误消息的屏幕截图>

我看到了Xcode有一个公开测试版,所以我安装了它。

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

新功能之一就是你不需要上传一个开发者计划帐户Dingus你的应用程序直接在你的iPhone上。

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.

然而,在我的iPhone 4s上,我还对iOS 8.4进行了公开测试版更新,问题在于,没有可用的开发者磁盘映像对于它。

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?

推荐答案

我在Xcode 7.3或Xcode的旧版本上面临同样的问题,我的设备版本是iOS 10或更新版本的操作系统。

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.

当您的Xcode旧并且您使用的相关设备更新为最新版本时,会显示此错误。首先,下载最新的Xcode版本。无需安装最新的Xcode。

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:


  • 右键单击 Xcode 8 Xcode 的较新版本,选择显示包内容内容开发人员平台 iPhoneOS.Platform 设备支持

  • 复制10.0文件夹(或更高版本以上版本)。

  • 返回 Finder 选择应用程序再次

  • 右键单击 Xcode 7.3或Xcode版本,现在选择显示包内容,内容,开发人员 ,平台,iPhoneOS.Platform,设备支持

  • 粘贴10.0文件夹(或更高版本以上版本)。

  • 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).

现在您的Xcode有一个新的开发人员磁盘映像。立即关闭取景器,然后退出Xcode。打开你的Xcode,错误就会消失。现在,您可以将最新的设备连接到旧的Xcode版本。

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.

如果您无法下载最新的Xcode,您可以从以下链接获取Xcode的最新开发者磁盘映像: -

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

如何下载Xcode DMG或XIP文件?

感谢@Hailei他们的答案。这样人们就可以下载最新的DMG。

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

这篇关于Xcode错误“无法找到开发人员磁盘映像”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆