Reputation: 106
Even if my iPhone is connected using cable and unlocked, it is shows an alert "Xcode 9.3 can not launch app on iPhone because of device is locked". I don't know what to do? Any one have proper solution for this? Please
Upvotes: 3
Views: 3157
Reputation: 314
Just replug you iPhone and have another try.
A better option is to use wireless debugging. Open Xcode menu > Window > Devices & Simulators and set your device to debug via network.
Upvotes: 1