Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCODE 8.2 wrongly detects locked device

I get the "Xcode cannot launch MyApp on My iPad because the device is locked. Unlock device to continue" message upon hitting build&run on XCODE 8.2 on an Ipad Air 2 (actual device, not simulator), after "build succeeded" when the device is actually not locked. I tried doing it with locked device in order for it to detect the unlock as usual, to no avail. Clean project, nada. It is quite annoying and happens very often. Has it happened to anyone else, and does anyone know any work around? Seems to be an XCODE 8.2 bug?

like image 491
Apneist Avatar asked May 30 '26 12:05

Apneist


1 Answers

I see it very often

Easiest solution:

Lock your device (e.g. click on side power button) and unlock again.

Or you can restart Xcode, but this will take much more time.

like image 168
Petr Lazarev Avatar answered Jun 02 '26 03:06

Petr Lazarev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!