iPhone版本比XCode版本高

连接iPhoneX(os 13.6)到电脑(10.14.6),提示如下

Could not locate device support files. This iPhone X (Model A1865, A1901, A1902, A1903) is running iOS 12.0 (16A5327f), which may not be supported by this version of Xcode.

 

方案一:升级XCode,此种方法可能还需要升级操作系统

方案二:下载相对应的XCode真机SDK

 

寻找指定版本的SDK

https://gitee.com/xudailong/iOSDeviceSupport/commit/d1848305c59cb5e47342810e4d4d6c4f09b82776

 

解压后,拷贝到目录下

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

上一篇:xcode无限闪退,报错ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources…………


下一篇:Xcode更新 提示空间不足的几种解决办法