Xcode “Device Locked” When iPhone is unlocked

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

    From the Window Menu in top bar of Xcode, select Devices and Simulators.

    (or Press SHIFT + COMMAND + 2)

    Then select your device, right click and select Unpair.
    Once you do this Trust or Don't trust will appear on your device.
    Trust the device again and it will begin preparing it for Development.
    Wait for Xcode to pair device for development and then you are good to go!

提交回复
热议问题