“RCTBundleURLProvider.h” file not found - AppDelegate.m

后端 未结 26 1407
遇见更好的自我
遇见更好的自我 2020-12-04 06:29

I am trying to run my React Native app in XCode and I keep getting this error. I cannot figure out how to resolve the issue. Any suggestions?

Screen Shot of Error in

26条回答
  •  执笔经年
    2020-12-04 07:13

    For all those are using React Native 0.40.0 or higher, Header Imports have a major change from RN 0.40.0 and result in lots of .h file not found errors. react-native-git-upgrade fixed the issue for me while in debug but build fails in release/archive.

    I am using RN 0.42.3 with cocoapods and Xcode 8.2.1

    To completely fix this go to Xcode>Product>Scheme>Edit Scheme>

    1. Untick Parallelize Build
    2. Click on + button in Targets and add React
    3. Drag the added React to top of the List in Targets.

    Now clean the project and build

提交回复
热议问题