React-Native Xcode报library not found for -lRNSVG错误
错误信息:
d: library not found for -lRNSVG
clang: error: linker command failed with exit code 1 (use -v to see invocation)
解决方式:
有效:Fixed by removing everything from ~/.rncache/
仍然报错的话,将项目下的
/Users/now/ReactNativeProjects/AwesomeProject/node_modules/react-native中的trhird-party文件夹替换为从这个网址下载的文件:
最新解决办法:
直接将third-party复制到项目的node_modules/react-native下即可