xcrun: error: SDK 'iphoneos' cannot be located错误的解决方案

2020-11-12 23:40:23

react 运行ios报错,

xcrun: error: SDK 'iphoneos' cannot be located错误的解决方案


搜了很多解决办法,不能用。


下面一句话解决这个问题。

出现这个错误的原因是因为没有指定编译环境造成的。只需要指定以下编译环境就OK了

  • sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer/





  • 2021-01-05 15:41:42

    nodejs修改时区

    ​let date = new Date(); date.setHours(date.getHours() + 8);

  • 2021-01-06 23:09:38

    mp3解码器转PCM合并

    首先,为了混合两个音频文件,您需要操纵它们的原始表示;由于MP3文件被压缩,您无法直接访问信号的原始表示.您需要对压缩的MP3流进行解码,以便“理解”您的音频信号的波形,然后可以混合使用.

  • 2021-01-08 16:47:37

    nodejs如何使用fetch

    node 中没有实现 fetch,你可以使用 node-fetch,使得在 node 中也可以使用 fetch.