Xcode7.2/真机iOS10报错:could not find developer disk image
2016-10-08 00:16
225 查看
问题描述:在将Xcode7.2上编写的程序运行到真机系统为iOS10.0.2时接连报了以下三个错误:
解决方法:将 iOS10对应的文件下载下来,导入到如下路径下
导入上述文件后,第一个错误没了但是此时又报了第二个错误。
解决方法:①拔掉连接线,断开手机与电脑的连接;②退出Xcode;③打开Xcode;④将连接线接好;⑤重新运行程序
此时,编译没问题,运行到最后报了如下的错误
解决方法:在系统为iOS10的真机上按如下路径给程序添加信任
设置->通用->设备管理->开发者应用->信任。点击信任后,再次运行程序,就可以完美的运行在真机上了。
错误一:could not find developer disk image
原因:Xcode版本过低,没有iOS10对应的文件解决方法:将 iOS10对应的文件下载下来,导入到如下路径下
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
导入上述文件后,第一个错误没了但是此时又报了第二个错误。
错误二:Device Locked
此时,虽然手机确定没有锁屏,但是反复运行程序,却报一样的错误,都是Device Locked。解决方法:①拔掉连接线,断开手机与电脑的连接;②退出Xcode;③打开Xcode;④将连接线接好;⑤重新运行程序
此时,编译没问题,运行到最后报了如下的错误
错误三:ios could not launch “程序名”process launch failed security
原因:真机没有对这些程序添加信任解决方法:在系统为iOS10的真机上按如下路径给程序添加信任
设置->通用->设备管理->开发者应用->信任。点击信任后,再次运行程序,就可以完美的运行在真机上了。
相关文章推荐
- XCode 7.2 真机调试 ios9.3系统遇到的 "could not find developer disk image "
- Xcode7.2真机9.3测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- 解决Xcode 9.2系统真机测试时出现 could not find developer disk image问题
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- "Could not find Developer Disk Image"问题,为Xcode9.1之前版本配置iOS11.xx、iOS10.xx配置包
- Xcode真机测试could not find developer disk image解决方法(支持iOS9.2)
- Xcode 真机测试“could not find developer disk image”解决方法
- Xcode7.0beta真机调试出现"Could not find Developer Disk Image"提示
- 解决Xcode 9.3系统真机测试时出现 could not find developer disk image问题
- Xcode 真机测试 could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- Xcode真机测试could not find developer disk image解决方法
- "Could not find Developer Disk Image"内附Xcode8.2之前版本配置iOS10、iOS 10.1、iOS10.2 配置包
- Xcode真机测试could not find developer disk image解决方法