xcode react-native 运行报错clang: error: linker command failed with exit code 1 (use -v to see invocatio

出现这个问题可能的原因有多种,参考 https://www.jianshu.com/p/74c3bd5f4ced这位博主的

而我出现的问题,就是缺少node_modules中的某些模块,导致文件获取不到,如下图所示,即缺失了-lRNZhiniaoWebview,考虑是react-native-zhiniao-webview,安装该包后重新run 就跑成功了

xcode react-native 运行报错clang: error: linker command failed with exit code 1 (use -v to see invocatio