Xcode “Device Locked” When iPhone is unlocked

前端 未结 30 2054
失恋的感觉
失恋的感觉 2021-01-29 18:53

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?

30条回答
  •  北海茫月
    2021-01-29 19:38

    A simple solution:

    1. First, unplug your device.

    2. Now, unlock your device and plug it in again. Be sure that the device is unlocked.

    3. Now run the Xcode project by selecting the device as target.

提交回复
热议问题