error: Build input file cannot be found: '*******/node_modules/react-native/Libraries/WebSocket/libfishhook.a' 問題解決記錄


解決了剛才的 '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錯誤,說明該文件存放位置有問題,只需要移除之后,重新添加一下文件就可以編譯通過。如下:

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

 

如果你不幸遇到了  #import <CodePush/CodePush.h> 出現file not found 的情況,請檢查下路徑是否正確

嘗試在

Build Setting -> Search Header Path -> 添加

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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM