Prevent iOS device from locking when tethered to a trusted developer Mac

Originator:petter.sjolin
Number:rdar://21093489 Date Originated:25-May-2015
Status:Open Resolved:
Product:Developer Tools Product Version:
Classification: Reproducible:
 
Summary:
When running a build on an iOS device from Xcode you should not have to unlock the device for each build.

There should be an option to allow an iOS device to not lock while connected to a trusted developer Mac, despite having the device set to auto lock and require passcode. When the device is disconnected or the Mac is locked the device shall also lock.

Currently, if the device is locked, you will get an error dialog and have to reinitiate the run process. This is inconvenient and is a major reason I do less testing on an actual device.

Disabling the passcode or setting the auto lock timeout to a longer interval does help but introduces security issues.

An alternative solution could be to not abort the process when the device is locked but to give the user a chance to unlock the device and then continue with deploying and running automatically.

Steps to Reproduce:
1. Initiate a build and run of your project on a device (currently locked with passcode)


Expected Results:
iOS device should wake up and allow installing and debugging without requiring a passcode (or Touch ID) despite having set up the device to require a passcode.

Actual Results:
An error :"Xcode cannot launch applications on “iPhone” as it is currently locked with a passcode. Please unlock the device and try again."

Version:
Xcode 6.3.1 (6D1002)
iOS: 8.3

Duplicates

Number Status Originator Product Title
rdar://21099116 Duplicate/21093489 kim.ahlberg Developer Tools Continue stalled launch process after iOS device is unlocked

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!