项目场景:
解决真机调试链接出错问题
1.真机调试提示Please reconnect the device问题解决
2.Please check the connection to the device, and review all errors in the Devices and Simulators window
问题描述
这两个报错的出现,重启手机可能有用,但最重要的是要:
到https://github.com/filsv/iPhoneOSDeviceSupport找到手机系统对应的版本,把下载好的对应版本文件夹放入到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport目录中,然后重启xcode即可完美解决。
原因分析:
提示:xcode更新时,iPhoneOSDeviceSupport版本不会全部安装,大部分需要自己去添加手机对应的版本
解决方案:
提示:
到https://github.com/filsv/iPhoneOSDeviceSupport找到手机系统对应的版本,把下载好的对应版本文件夹放入到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport目录中,然后重启手机,关闭xcode,重启电脑后打开xcode即可完美解决。