用 xcode 打开工程,报错:React/RCTBundleURLProvider.h' file not found
原因:Target缺少React
解决方法:
1、打开Product下的Manage Schemes
2、弹出如下对话框,操作如下图1、2步骤。
在Target下拉框里选择React
3、选过之后,scheme是里边就会多了React
4、重新编译,发现问题已经解决了。
用 xcode 打开工程,报错:React/RCTBundleURLProvider.h' file not found
原因:Target缺少React
解决方法:
1、打开Product下的Manage Schemes
2、弹出如下对话框,操作如下图1、2步骤。
在Target下拉框里选择React
3、选过之后,scheme是里边就会多了React
4、重新编译,发现问题已经解决了。