错误信息:
d: library not found for -lRNSVG

clang: error: linker command failed with exit code 1 (use -v to see invocation)

React-Native Xcode报library not found for -lRNSVG错误

解决方式:
Download boost_1_63_0.tar.gz to ~/.rncache/, replace if exist.

有效:Fixed by removing everything from ~/.rncache/

仍然报错的话,将项目下的
/Users/now/ReactNativeProjects/AwesomeProject/node_modules/react-native中的trhird-party文件夹替换为从这个网址下载的文件:


最新解决办法:
直接将third-party复制到项目的node_modules/react-native下即可

相关文章:

  • 2021-07-14
  • 2021-05-26
  • 2022-12-23
  • 2021-10-06
  • 2021-11-02
  • 2021-07-28
  • 2021-12-26
  • 2021-09-25
猜你喜欢
  • 2021-06-09
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2019-09-06
相关资源
相似解决方案