xcode 拷贝新的ios image 进去以后 出现 the divices is locked

苹果公司时不时的给你更新下ios系统。对于开发者来说。更新xcode是灾难性的。

一直在用xcode7.3.1,可是最新不小心把手机升级到 ios 10.1.1,这下好了,真机调试不行了。提示没有镜像“Could not find developer disk image ”

。网上找了个镜像 https://pan.baidu.com/s/1i4QuDpV  ,下载后放在$Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 这个路径下,

又提示   the divices  is locked 

解决办法。

打开手机

设置》通用》还原》还原位置与隐私。现在重新连接电脑,手机提示是否信任这个计算机。点信任。

Settings > General > Reset > Reset Location & Privacy. Now when you connect to formerly trusted computers, the Trust alert will ask you whether you trust that computer. 

 然后就OK

 

原文地址:https://www.cnblogs.com/alanjl/p/6046105.html