I can't test my app on iPhone - xCode says iPhone is locked, but it isn't

I'm trying to test my app at the iPhone 7, but xCode 8 says the device is locked. But it isn't. A few weeks ago it worked fine, but now no more. What is working wrong? the ios of the iphone is 10.0.teh version of xCode is 8.0

Can someone give me support?


Thank you

Answered by KMT in 204877022

Are you working with 'free provisioning' or do you have a valid/current paid Individual Developer Account?

Accepted Answer

Are you working with 'free provisioning' or do you have a valid/current paid Individual Developer Account?

I have a paid Developer account - two weeks ago it still worked

Hello again


now I updated my iPhone to iOS 10.2 now I get a different error message:


This iPhone 7 (Model 1660, 1778, 1779, 1780) is running iOS 10.2 (14C92), which may not be supported by this version of Xcode.


what happened here?

What is the exact version # and build # for the Xcode you are using?


Note current since 12.19.16 is Xcode v8.2.1 build 8C1002

This problem still happens with an iPad Air3 and Xcode 12.4 connected via a physical cable. Can this issue be fixed? There's a long history on Stack Overflow of this bug happening, and not being fixed since Xcode 6.

The device loses a connection, and then Xcode reports that the device is locked even when unplugged and plugged back in. The device is unlocked before and after the replug. This happens pretty easily when bumping a cable connected to a usb-c port that then loses the connection, and when the app is relaunched Xcode thinks it's locked.

The only workaround is to quit Xcode and restart it, but fixing the bug would avoid this. The only way I've found to fix it and keep Xcode up is to unpair the device and re-trust it again.




I can't test my app on iPhone - xCode says iPhone is locked, but it isn't
 
 
Q