Xcode “Device Locked” When iPhone is unlocked

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

    2018

    The fastest way for now i found is:

    1) Go to Window -> devices (changed the hotkey in xcode to CMD+P for me)
    2) Press unpair on the device.
    3) Press trust in iPhone.
    4) Build again or Run without building (Ctrl+CMD+R)

提交回复
热议问题