调试手机 报错:
The run destination iPhone is not valid for Running the scheme '项目名'
iPhone does not trust this Mac. To use iPhone with Xcode, unlock it and choose to trust this Mac when prompted.
原因:
iPhone不信任这款Mac电脑。要将iPhone与Xcode一起使用,请解锁它,并在提示时选择信任此Mac。
解决:
重新插拔数据线,出现信任选择弹框;
如果一直不出现,或者报 : iphone is busy
参考: