Search code examples
iosiphonexcode

Xcode "Device Locked" When iPhone is unlocked


When I tried to build and run, Xcode said my device was locked. I looked at my iPhone, and it's not locked at all. How do I fix this?


Solution

  • Did you by chance not "trust" the device? This will prevent it from communicating with xcode even if the device is unlocked.

    Update here's a support doc from Apple: http://support.apple.com/en-us/HT5868