关于手机系统升级后xCode无法调试问题

在开发过程中,有时候在真机调试的时候出现如下的编译错误。

This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.
这种一般都是手机系统升级后,xCode没有升级导致的找不到表意调试的文件包。

其实就是iOS系统升级后,xCode缺少了系统编译支持的文件;只需要到下面地址去找到和你手机系统版本匹配的文件包,
iPhoneOSDeviceSupport

然后放到如下位置即可。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容