iOS升级后,xcode版本不匹配高版本真机调试(Xcode unsupported iOS version...)

参考:https://blog.csdn.net/YanceChen2013/article/details/67636498?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.baidujs&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.baidujs

https://blog.csdn.net/ws1836300/article/details/52953410?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_title-2&spm=1001.2101.3001.4242

https://stackoverflow.com/questions/64974291/xcode-12-3-beta-failed-to-prepare-device-for-development

1. 复制一份旧的SDK,并重新命名为真机测试需要的SDK版本

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

iOS升级后,xcode版本不匹配高版本真机调试(Xcode unsupported iOS version...)_第1张图片

2. 进入刚刚复制的sdk文件夹下,把里面所有跟版本相关的改成当前版本

3.去这里下载对应的真机调试包,然后复制到下面路径里

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

 

 

4. 再次运行可能会报错“Errors were encountered while preparing your device for development. Please check the Devices and Simulators Window”。

iOS升级后,xcode版本不匹配高版本真机调试(Xcode unsupported iOS version...)_第2张图片

 

5. 但是现在还是没办法解决,一调试就断开连接,擦

 

你可能感兴趣的:(xcode报错,xcode)