React Native打包IOS報錯:React/RCTBundleURLProvider.h' file not found

用 xcode 打開工程,報錯:React/RCTBundleURLProvider.h' file not found 原因:Target缺少React 解決方法: 1、打開Product下的Manage Schemes 2、彈出如下對話框,操作如下圖1、2步驟。 在Target下拉框裏選擇React 3、選過之後,scheme是裏邊就會多了React 4、重新編譯,發現問題已經解決了。
相關文章
相關標籤/搜索