1.打开“访达”,shift+command+G到资源库 “~/Library/Developer/Xcode/iOS DeviceSupport/”删除该目录下所有文件 快捷键(shift+command+G到资源库)全部删除文件夹下所有文件
shift
command
G
~/Library/Developer/Xcode/iOS DeviceSupport/
2.选择Xcode->Window->Devices and Simulators 真机设备,鼠标右键选择unpair the device
Xcode
Window
Devices
and
Simulators
unpair the device
image
3.重新启动Xcode