Xcode “Device Locked” When iPhone is unlocked

前端 未结 30 2628
失恋的感觉
失恋的感觉 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:46

    This issue is not about "Trust" or not. It's a bug in Xcode.

    Just follow these steps.

    When Xcode is running and your device is connected:

    1. Lock your device.
    2. Unplug your device from Mac.
    3. Unlock your device.
    4. Plug your device back to Mac.

提交回复
热议问题