error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libf...

解决了刚才的 'config.h' file not found 问题,本以为就可以顺畅的跑起来,谁知道又被恶心到了,Build input file cannot be found!!!

问题:

error: Build input file cannot be found: '/Users/galahad/Desktop/ziliao/RN和Native交互/react-native-blog-examples/Chapter10-RNInteractionWithNative/RNAddNative/node_modules/react-native/Libraries/WebSocket/libfishhook.a'

解决:

通常编译报 Build input file cannot be found错误,说明该文件存放位置有问题,只需要移除之后,重新添加一下文件就可以编译通过。如下:

error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libf..._第1张图片

然后就可以跑起来了!!!!

 

如果你不幸遇到了  #import 出现file not found 的情况,请检查下路径是否正确

尝试在

Build Setting -> Search Header Path -> 添加

$(SRCROOT)/../node_modules/react-native-code-push/ios

 

转载于:https://www.cnblogs.com/richard-youth/p/10002797.html

你可能感兴趣的:(网络)