一、在使用Xcode进行真机调试的时候,有时根据真机的系统不同,会出现could not find developer disk image 错误,这是由于真机系统过高或者过低,Xcode中没有匹配的配置包文件,我们可以通过这个路径进入配置包的存放目录:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport


里面有类似这样的一些文件夹,如果这些文件夹中没有包含我们真机的系统,则不能进行真机测试。
二、解决方案
我们可以通过将相应的配置包添加入这个文件夹来解决问题。
1.直接拷贝对应版本的disk Image到/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 目录文件夹内。
下载链接:包括6.0 - 9.3的所有Image版本。网盘地址:http://pan.baidu.com/s/1kV2FUr9
2.更新最新版本的Xcode:App Store->更新列表->更新Xcode

网友评论