记录一下当iphone升级成16.3.1版本以后,显示Unsupported OS version。
iphone升级成16.3.1,而我的Xcode版本是13.4,最高支持iOS SDK 15.5.
解决办法:
下载iOS Device Support 16.3,下载地址
Github仓库:https://github.com/JinjunHan/iOSDeviceSupport
Aliyun仓库:https://code.aliyun.com/hanjinjun/iOSDeviceSupoort
Gitee仓库:https://gitee.com/Han0/iOSDeviceSupport
下载后解压后放到对应目录:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
![](https://img.haomeiwen.com/i1507173/cd821921e2cacc56.png)
然后重启手机,重启Xcode,重启电脑,重新运行。应该就可以了。
然而我又报了个异常:
![](https://img.haomeiwen.com/i1507173/d261e18b248e7fc7.png)
解决办法:
可能是因为iPhone升级后,开发者模式被关闭了。
进行如下操作 设置--隐私与安全--开发者模式 然后会提示重启手机,重启之后就可以打开了。
![](https://img.haomeiwen.com/i1507173/21bfc4010849c591.png)
![](https://img.haomeiwen.com/i1507173/62b05bdc0af68eab.png)
![](https://img.haomeiwen.com/i1507173/80a4d883fb97263e.png)
网友评论