ios iPhone xxx is not available because it is unpaired. Pair with the device in

474 阅读1分钟
  • Xcode 运行 ios真机 报错:

    iPhone xxx is not available because it is unpaired. Pair with the device in the Xcode Devices Window, and respond to any pairing prompts on the device.

    原因是设备没授权好,先断开重新授权下,执行命令:

    $ sudo pkill usbmuxd
    

    然后重启 Xcode,连接手机,进行信任授权即可。