Development cannot be enabled while your device is locked.
2016-10-12 21:41
489 查看
问题:Development cannot be enabled while your device is locked.
分析原因:由于第一次连接MAC时,在iOS设备上点击了"不信任"选项,所以XCode
8不能访问手机,所以才出现这个问题
解决方法:
英文好的同学,可以看到原文章
http://stackoverflow.com/questions/26791477/xcode-device-locked-when-iphone-is-unlocked
以下我说下方法
这是APPLE官网的解释
https://support.apple.com/en-us/HT202778
重点是这段
Your iOS device remembers the computers you've chosen to trust.
If you don't want to trust a computer or other device anymore, change the privacy settings on your iPhone, iPad, or iPod touch: In iOS 8 or later, tap 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.
意思是说重置隐私设置
点击 设置 --> 通用 --> 重置 --> 重置位置和隐私
然后关闭xcode 8, 拔掉数据线,重启xocde 8开启项目, 重新插上数据线,此时手机上会显示mac与手机设备的连接访问权限,选择“信任”,
分析原因:由于第一次连接MAC时,在iOS设备上点击了"不信任"选项,所以XCode
8不能访问手机,所以才出现这个问题
解决方法:
英文好的同学,可以看到原文章
http://stackoverflow.com/questions/26791477/xcode-device-locked-when-iphone-is-unlocked
以下我说下方法
这是APPLE官网的解释
https://support.apple.com/en-us/HT202778
重点是这段
Change your settings for trusted computers
Your iOS device remembers the computers you've chosen to trust.If you don't want to trust a computer or other device anymore, change the privacy settings on your iPhone, iPad, or iPod touch: In iOS 8 or later, tap 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.
意思是说重置隐私设置
点击 设置 --> 通用 --> 重置 --> 重置位置和隐私
然后关闭xcode 8, 拔掉数据线,重启xocde 8开启项目, 重新插上数据线,此时手机上会显示mac与手机设备的连接访问权限,选择“信任”,
相关文章推荐
- Development cannot be enabled while your device is locked.
- Development cannot be enabled while your device is locked.
- Development cannot be enabled while your device is locked.
- iOS中项目运行到真机上提示设备被锁定解决方法Development cannot be enabled while your device is locked.
- iOS真机调试出现Development cannot be enabled while your device is locked.
- iOS中项目运行到真机上提示设备被锁定解决方法Development cannot be enabled while your device is locked.
- Development cannot be enabled while your device is locked.
- Development cannot be enabled while your device is locked.
- 新版本Vivado打开老工程IP锁住的问题("...."is locked and cannot be customized)
- 解决VMware Tools installation cannot be started manually while Easy Install is in progress.
- This InfoPath form template is browser-compatible, but it cannot be browser-enabled on the selected site
- 【vm-虚拟机】重新导入虚拟环境提示virtual device "scsi1:0" cannot be enabled
- HAXM cannot be installed nutil TV-x is enabled
- [转载]解决VMware Tools installation cannot be started manually while Easy Install is in progress
- psycopg2.ProgrammingError: execute cannot be used while an asynchronous query is underway
- ScriptLoader.loadScripts cannot be called while the ScriptLoader is already loading scripts
- Xcode cannot launch because the device is locked.
- VM7.0安装不上VMware tools,提示VMware Tools installation cannot be started manually while Easy Install is in progress.
- This Task Is Currently Locked by a Running Workflow and Cannot Be Edited