可能由于不习惯Xcode 8 的新字体 , 而且不喜欢尝鲜当小白鼠 , 所以一直还在使用Xcode 7 .但是每次手机升级系统后跑真机测试都会出现"Could not find Developer Disk Image"的问题.
解决方法
-
打开Finder -> 应用程序 -> Xcode
-
Xcode右键,显示包内容
(依次打开)Contents-->Developer-->Platforms-->iPhoneOS.platform-->DeviceSupport -
将你对应缺少的 Disk Image 版本放入
资源下载
我下载了Xcode 6 / 7 / 8 ,然后复制出了全部系统的disk image 提供给大家.网上很多资源很烦,要不下载不了,要不就收费.
- Disk Image 6.0: https://download.csdn.net/download/sinat_29106727/10375852
- Disk Image 6.1: https://download.csdn.net/download/sinat_29106727/10375856
- Disk Image 7.0: https://download.csdn.net/download/sinat_29106727/10375863
- Disk Image 7.1: https://download.csdn.net/download/sinat_29106727/10375937
- Disk Image 8.0: https://download.csdn.net/download/sinat_29106727/10375968
- Disk Image 8.1: https://download.csdn.net/download/sinat_29106727/10375974
- Disk Image 8.2: https://download.csdn.net/download/sinat_29106727/10376778
- Disk Image 8.3: https://download.csdn.net/download/sinat_29106727/10376782
- Disk Image 8.4: https://download.csdn.net/download/sinat_29106727/10375878
- Disk Image 9.0: https://download.csdn.net/download/sinat_29106727/10376797
- Disk Image 9.1: https://download.csdn.net/download/sinat_29106727/10375879
- Disk Image 9.2: https://download.csdn.net/download/sinat_29106727/10378051
- Disk Image 9.3: https://download.csdn.net/download/sinat_29106727/10375905
- Disk Image 10.0: https://download.csdn.net/download/sinat_29106727/10378083
- Disk Image 10.1: https://download.csdn.net/download/sinat_29106727/10381667
- Disk Image 10.2: https://download.csdn.net/download/sinat_29106727/10381673
- Disk Image 10.3: https://download.csdn.net/download/sinat_29106727/10375920
- Disk Image 11.0: https://download.csdn.net/download/sinat_29106727/10381681
- Disk Image 11.1: https://download.csdn.net/download/sinat_29106727/10381690
- Disk Image 11.2(15C107): https://download.csdn.net/download/sinat_29106727/10381704
- Disk Image 11.3(15E5189D):https://download.csdn.net/download/sinat_29106727/10376001
(Safari可能会出现找不到页面的情况,请使用Chrome)
PS : 7.0真机 兼容Xcode 8
如果你现在使用的Xcode 8 ,但是又想运行7.0 + 版本真机 ,不用非要下载Xcode 7 来解决这个问题. 解决办法如下:(每次更新一次Xcode版本 , 水果公司都会丢弃一个最低iOS版本 , 想不要就不要 , 任性.)
-
首先要把7.0 或者 7.1的disk image导入Xcode (参考上方↑解决方法)
-
找到Xcode(显示包内容) -- >Contents -- >Developer -- >Platforms -- >iPhoneOS.platform -- >Developer -- >SDKs -- >iPhoneOS.sdk 右键"显示简介" , 把权限设置成 "读与写".
-
权限设置完成后 , 进入文件夹找到'SDKSettings.plist'文件,设置'读与写'权限(同上).
-
打开'SDKSettings.plist'文件,找到 DEPLOYMENT_TARGET_SUGGESTED_VALUES 该数组,'add row'添加相应版本.
-
重启Xcode之后 , 请开始你的表演 ~~
-
最后别忘了把之前开启的'读与写'改回'只读'.不怕一万只怕万一.
有什么建议或者意见 , 你可以保留~ 谢谢~
网友评论