【发布时间】:2016-09-19 15:02:43
【问题描述】:
我已将我的 iOS 设备更新到 iOS 10,现在 Xcode 在尝试使用 Xcode 7.3.1 在 iPhone 上运行时显示“找不到开发者磁盘映像” 如何解决问题并让 Xcode 支持 iOS 10 设备?
【问题讨论】:
-
Xcode 8 是你在 iOS10 上开发所需要的。
我已将我的 iOS 设备更新到 iOS 10,现在 Xcode 在尝试使用 Xcode 7.3.1 在 iPhone 上运行时显示“找不到开发者磁盘映像” 如何解决问题并让 Xcode 支持 iOS 10 设备?
【问题讨论】:
如果您想在 iOS10 设备上使用 Xcode 7 进行开发:
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ (14A345)/ /Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform /DeviceSupport/10.0
注意:这适用于 Xcode 9 及更高版本
2018 年更新:
如果您想在 iOS 12 中使用 Xcode 9:
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.0\ (16A5354b)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/DeviceSupport/12.0
【讨论】:
10.0 (14A345) from path: Xcode 8 -> Show Package Contents, Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 并将10.0 (14A345) 文件夹粘贴到 Xcode 7 中路径 Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 和...就像一个魅力!谢谢
10.0 (14A345) 文件夹也可以,但是如果更新,您将失去空间,并且您将无法从 Xcode 获取最后一个磁盘映像。
ln -s /Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A345\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
正如holex所说,安装Xcode 8可以解决问题
【讨论】:
您可以尝试在您的移动设备上下载所需 iOS 版本的开发者磁盘映像; 如果您只想要一个快速简单的解决方案..
你需要转到:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
并粘贴您刚刚手动下载的开发者磁盘映像。
【讨论】: