如何在连接到 Xcode 时自动解锁通过密码保护的 IOS 设备
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20885527/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to auto-unlock IOS device protected via a passcode when connecting it to Xcode
提问by Michal Jurník
I have password pin on my iPhone and whenever I want to try my new build I have to manually unload the device. Is it possible to unlock device from Xcode automatically? Something like insert password pin into keychain. Thx for reply.
我的 iPhone 上有密码 pin,每当我想尝试我的新版本时,我都必须手动卸载设备。是否可以自动从 Xcode 解锁设备?类似于将密码 pin 插入钥匙串。谢谢回复。
采纳答案by Seyyed Parsa Neshaei
There isn't anyway to do so, but you can prevent locking the device by the following trick:
无论如何都没有这样做,但您可以通过以下技巧防止锁定设备:
- Go to Home Screen ==> Settings
- Open General
- Tap Auto-Lock
- Select Never
- 转到主屏幕 ==> 设置
- 打开通用
- 点击自动锁定
- 选择从不
Also the another trick is the following:
另一个技巧如下:
- Go to Home Screen ==> Settings
- Open [Touch ID and] Passcode
- Tap Require Password
- Select a longer interval
- 转到主屏幕 ==> 设置
- 打开[Touch ID和]密码
- 点按需要密码
- 选择更长的间隔
The another way is to disable passcode on the device.
另一种方法是禁用设备上的密码。
Important Note: Disable all this settings after developing is finished (for security).
重要提示:开发完成后禁用所有这些设置(为了安全)。
Note: If your device is jailbroken, you can set this settings to enable when booting up the device. Search Cydia to find out more.
注意:如果您的设备已越狱,您可以在启动设备时将此设置设置为启用。搜索 Cydia 以了解更多信息。
回答by ElonChan
As far as I know this is not possible without jailbreak.
据我所知,如果没有越狱,这是不可能的。
Fix Radar or GTFO!
修复雷达或 GTFO!
The only way is to report the bug to Apple Bug Reporter System,
唯一的方法是向Apple Bug Reporter System报告错误 ,
and then report to here openradarso we can see the bugs list at there.
然后向这里openradar报告, 以便我们可以在那里看到错误列表。
You can see the same Radar at here: Fix Radar or GTFO
您可以在此处看到相同的雷达: Fix Radar 或 GTFO
If you are Chinese ,you can read Apple Bug Reporter System
如果你是 CN 人,你可以阅读Apple Bug Reporter System