Unlocking device should dismiss Device Locked dialog box

Originator:igeek1
Number:rdar://16425277 Date Originated:25-Mar-2014 06:37 PM
Status:Duplicate of 12875492 Resolved:26-Mar-2014
Product:Xcode Product Version:Xcode 5.1 (5B130a)
Classification:UI/Usability Reproducible:Always
 
If I try to build onto a locked device, Xcode presents a dialog box indicating that the device is locked and that I must unlock it before proceeding. The dialog should dismiss itself without my intervention.

Steps to Reproduce:
1. Open an iOS app project in Xcode.
2. Connect an iOS device to the computer over USB.
3. Make sure the device is locked, such that it will require a passcode or Touch ID authentication to unlock.
4. Click the Run button in Xcode to run the app.
5. A notice appears telling me that I have to unlock the device to proceed.

Expected Results:
Once I have unlocked the device, the build and run either continues automatically, or else the dialog dismisses itself and I can just click Run (or type Command-R) again to run the app.

Actual Results:
I have to press Return or click the OK button to first dismiss the dialog box.

Version:
Xcode 5.1 (5B130a)

Notes:


Configuration:


Attachments:
Screenshot here: http://cl.ly/UcTk

Comments

Oddly, about half to a third of the time, I get this distinct but equivalent error message:

Could not launch “TestProject” process launch failed: Locked

Screenshot: http://cl.ly/UhNs

duped as rdar://16425350


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!