解决iOS 13.6 Xcode真机调试缺少磁盘映像问题

在使用 Xcode 进行真机调试时,如果遇到 Could not find developer disk image 错误,表明缺少对应 iOS 版本的磁盘映像文件。

针对 iOS 13.6 版本,可通过以下步骤解决:

  1. 打开 Finder,前往 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 目录。
  2. 将 iOS 13.6 的磁盘映像文件添加到该目录下。
  3. 在 Xcode 中执行 Clean 操作,以清理项目缓存。
zip
13.6.zip 预估大小:2个文件
folder
13.6 文件夹
file
DeveloperDiskImage.dmg 13.24MB
file
DeveloperDiskImage.dmg.signature 128B
zip 文件大小:13.23MB