Xcode “Device Locked” When iPhone is unlocked

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

    I have a very simple solution which worked for me instantly. Takes some 10 sec to do:

    1) Go to Window -> Devices & Simulators and untick Show as run destination

    2) Unplug the cable and plug it back in.

    3) Run the project.

    This should be solving your problem!

提交回复
热议问题