An error was encountered while attempting to communicate with this device.

Xcode连接真机测试的时候(APP覆盖安装没有报错,卸载APP重新安装时报错),报错如下:



按照提示拔除数据线,重新连接手机,Xcode Clean一下,重新编译运行就好了。
第一次遇到这个问题,记录一下。

你可能感兴趣的:(An error was encountered while attempting to communicate with this device.)