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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With