美文网首页
React Native 真机:Could not locate

React Native 真机:Could not locate

作者: 小胖子嘿嘿嘿 | 来源:发表于2020-09-22 13:59 被阅读0次

    有时候手贱,把iphone升级到最新版本,用xcode安装debug版本发现报错:Could not locate device support files

    这时候首选应当去升级xcode,然而升级需要时间和存储,另一种方法是下载对应的iphone版本扩展包即可。

    打开finder,前往=》前往文件夹,或者shift + command + G,输入以下地址:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/

    进入到目录,可以看到里边有当前xcode支持的版本:

    image.png

    这时,只需要下载iphone的支持扩展包,然后放入即可

    从这里可以下载到:https://github.com/filsv/iPhoneOSDeviceSupport

    然后又可以愉快的玩耍了!

    相关文章

      网友评论

          本文标题:React Native 真机:Could not locate

          本文链接:https://www.haomeiwen.com/subject/ehjwyktx.html