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

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”。

 

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值