Xcode “Device Locked” When iPhone is unlocked

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

    This can also happen due to pending update on your device. This also means you need to update your phone, connect to the MacBook (trust it if needed). This how I found my problem and solution.

    0 讨论(0)
  • 2021-01-29 19:41

    Rebooted my iPhone, and that fixed it for me.

    I tried every answer on this page (7 at the time, though 2 are duplicates) and they were all unsuccessful for getting rid of this Xcode error for me.

    0 讨论(0)
  • 2021-01-29 19:41

    There is a simple way to resolve that. At least it works for me. In your iPhone Device Go to Setting > Developer > click in “Clear Trusted Computer” Type the passcode required And done!!!

    The simplest way that I found.

    0 讨论(0)
  • 2021-01-29 19:42

    My phone was set to "trust" the Mac, and I still ran into this error with Xcode 6.1.1.

    This worked for me:

    • unplug device
    • quit xcode
    • open xcode
    • plug in device
    • build/run
    0 讨论(0)
  • 2021-01-29 19:42

    Solution: Switch target device to some other (e.g. Generic iOS Device),

    then unlock you physical device and switch back to it again.

    0 讨论(0)
  • 2021-01-29 19:43

    On your device (iPhone/iPad) goto: Settings -> Developer -> Clear Trusted Computers worked for me.

    0 讨论(0)
提交回复
热议问题