Development cannot be enabled while your device is locked.
来源:互联网 发布:日语输入法软件下载 编辑:程序博客网 时间:2024/06/05 00:30
问题: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
重点是这段
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.
- 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.
- Xcode cannot launch because the device is locked.
- ORA-10485: Real-Time Query cannot be enabled while applying migration redo
- Device /dev/ttyS0 is locked.
- "Device /dev/ttyS? is locked."
- "Device /dev/ttyS? is locked."
- Device /dev/ttyS0 is locked.
- "Device /dev/ttyS? is locked."
- "Device /dev/ttyS? is locked."
- "Device /dev/ttyS? is locked."
- the device is locked 解决方法
- 错误-Android-OpenCV-It seems that your device does not support camera(or it is locked)
- ORA-20782: Cannot DROP object used in Oracle GoldenGate replication while trigger is enabled
- 由dll导出lib文件
- AntiCap反截屏模块
- img预加载获取图片大小方法
- 使用expdp和impdp远程导入导出库
- 框架中的RESTful api快速领悟(中):token认证
- Development cannot be enabled while your device is locked.
- 声纹识别概述
- prototype和__proto__的概念
- Access forbidden! You don’t have permission to access the requested object. It is either read-prote
- QCustomplot使用分享(五) 布局
- Android 字符串转换String.format使用及String使用技巧
- python数据分析入门学习笔记儿
- JZOJ 3806 【NOIP2014模拟8.24】小X的道路修建
- java 四舍五入方法