Xcode “Device Locked” When iPhone is unlocked

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

    For anyone who need a logical answer..

    1. Go to Window -> Devices & Simulators. Right click on your device & unpair it.
    2. Disconnect from cable & reconnect.
    3. Wait for it & let Xcode detect you device.
    4. Run the project.
    5. Make sure you TRUST on your iOS device and enter any passcode.

提交回复
热议问题