首页 > 其他分享 >Development cannot be enabled while your device is locked.

Development cannot be enabled while your device is locked.

时间:2023-05-21 23:06:50浏览次数:43  
标签:Development locked -- iOS computers enabled device trust your


问题: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,locked,--,iOS,computers,enabled,device,trust,your
From: https://blog.51cto.com/u_14062833/6320511

相关文章

  • mysql用户表root用户被锁定,无法登陆(Account is locked)
    今天看到mysql的user表就打开了看看,看到root还有些权限是N,然后顺手就改成了Y,结果保存之后就凉凉了,数据库就打不开了,报“Accountislocked”这个错误,上网排查了好半天才解决,解决方法记录一下。解决思路:1、使用skip-grant-tables跳过密码验证,此时可以打开MySQL服务并登录2、......
  • blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on th
    现在的浏览器出于安全策略的限制,都是不允许跨域的,但是开发的时候经常需要一些别的域的接口,特别是一些接口不是自己能控制的时候,往往会造成开发困难。今天无意中知道了,chrome浏览器可以通过设置为可跨域,解决跨域问题,从而在本地进行开发工作下面我就介绍谷歌浏览器新老版本各自的......
  • Understanding Preclinical Research: The Key to Successful Innovative Drug Develo
    Thefirstchallengeindrugdevelopmentispreclinicalresearchofnewdrugs,whichreferstochemicalsynthesisornaturalproductpurificationstudies,druganalysisstudies,pharmacodynamics,pharmacokinetics,toxicology,andpharmacologystudiesperfo......
  • Linux运行卡死【INFO: task multipathd:5832 blocked for more than 120 seconds】
    目录问题背景分析过程解决方法问题背景系统在正常运行过程中,突然收到监控平台告警,服务器无法ping通。分析过程机房人员重启服务器后,查看/var/log/messages日志发现如下报错:May619:43:45xxxkernel:INFO:taskmultipathd:5832blockedformorethan120seconds.M......
  • Mixed Content: xxx This request has been blocked; the content must be served ove
    1.情景展示这是教师资格证,准考证的下载界面。当我们去点击“下载准考证”的时候,你将发现点击该按钮并没有反应。按F12,打开开发者工具。该网站,会自动进入断点调试模式,目的是为了:禁止前端开发者查看网页代码之类的吧。我们要想看看,为什么无法下载准考证,就不能够被它拦住。......
  • 解决iframe嵌套不同域报错问题:SecurityError: Blocked a frame with origin
    Error:Failedtoresolveasynccomponentdefault:SecurityError:Blockedaframewithorigin"https://223.82.12.165:8282"fromaccessingacross-originframe. 原始需求,我提供一个免登陆的链接跳转到页面A。实现需求:用一个新的工程B实现权限校验,校验成功后通过loc......
  • WCF Error : Manual addressing is enabled on this factory, so all messages sent m
    WCFError:Manualaddressingisenabledonthisfactory,soallmessagessentmustbepre-addressed 回答2Iaddedaservicereferenceasusualandgotthiserror.TurnsoutallIhadtodowastoamendtheclientconfigtouseanendpointconfigwitha......
  • 批处理中setlocal enabledelayedexpansion 变量延迟(转)
    本质上是因为批处理读取命令时是按行读取的(另外例如for命令等,其后用一对圆括号闭合的所有语句也当作一行)在一行中即使是使用变量赋值也是无作用的,使用才有了变量延迟https://www.jb51.net/article/29323.htm ......
  • 3、题目:Feedback in concept development: Comparing design disciplines
    期刊信息(1)作者:Yilmaz,Seda.(2)期刊:DesignStudies,2016,45:137-158(3)DOI:10.1016/j.destud.2015.12.008(4)ISSN:0142-694X(5)IF:3.853(Q2)研究背景设计反馈是促进学生设计进步的必要教学工具,但很少有研究关注教师的反馈是什么样子的,特别是在跨设计学科方面研......
  • 解决Since Maven 3.8.1 http repositories are blocked的问题
    在使用Idea社区版时,已经默认带了Maven插件。所以无需额外安装Maven即能使用。进入Idea的Maven插件目录:C:\ProgramFiles\JetBrains\IntelliJIDEACommunityEdition2023.1\plugins\maven\lib\maven3\conf编辑setting.xml文件,并注释以下内容: <!--<mirror><id......