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

后端 未结 26 1400
遇见更好的自我
遇见更好的自我 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:08

    https://github.com/facebook/react-native/blob/v0.63.3/template/ios/Podfile

    Find/Replace HelloWorld with your your project name.

    Place this file into the ./ios folder in your project

    gem install cocoapods
    cd ios
    pod install
    

    Then open the YourProject.xcworkspace file in XCode

    in XCode, go to Product -> Scheme -> Manage Schemes and check React

    Then try building the project again.

提交回复
热议问题