AppDelegate.m:12:9: 'React/RCTBundleURLProvider.h' file not found
See original GitHub issueDescription
Vanilla ejected app without expo iOS build has compilation error and failed to build.
Expected Behavior
It should build out of the box.
Observed Behavior
AppDelegate.m:12:9: 'React/RCTBundleURLProvider.h' file not found
Environment
npm ls react-native-scripts
:N/A
npm ls react-native
:0.45.1
npm ls expo
:N/A
node -v
:v6.11.0
npm -v
:3.10.10
yarn --version
:0.20.3
(this is the one installed by create-react-native-app!)watchman version
:4.7.0
- Operating system: Sierra 10.12.5
- Phone/emulator/simulator & version: 10.0
Reproducible Demo
- create a new app using create-react-native-app@0.0.6
- eject without expo
- Open Xcode project
- Build
Workaround
Update to latest yarn 0.27.5
makes it run, however the compilation error is still there??
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:40 (3 by maintainers)
Top Results From Across the Web
AppDelegate.m:12:9: 'React/RCTBundleURLProvider.h' file ...
I am facing the same issue. DemoProject/ios/DemoProject/AppDelegate.m:12:9: 'React/RCTBundleURLProvider.h' file not found is there any solution?
Read more >"RCTBundleURLProvider.h" file not found - AppDelegate.m
I am trying to run my React Native app in XCode and I keep getting this error. I cannot figure out how to...
Read more >iOS : "RCTBundleURLProvider.h" file not found - AppDelegate.m
iOS : "RCTBundleURLProvider. h " file not found - AppDelegate.m [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS ...
Read more >how to get the app delegate file on Xcode - Apple Developer
ive been working to integrate admobs to Xcode through the use of a tutorial online but ive noticed that when I open a...
Read more >@mattlisiv/reactnative-splashscreen - npm
To fix 'RNSplashScreen.h' file not found , you have to select your project → Build Settings → Search Paths → Header Search Paths...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
potential solution here. https://stackoverflow.com/questions/40368211/rctbundleurlprovider-h-file-not-found-appdelegate-m
this resolved the issue for me -
in Xcode do the following:
N.B. Some people were not seeing the React option, nor was I until I ran
npm install -g react-native-git-upgrade
followed byreact-native-git-upgrade
. Following this the react option displayed for me.I’m also running into this problem, and even reverting all changes in Git doesn’t help, my project appears to be permanently borked now.
@brentvatne , any update on this? It’s pretty much a complete development blocker.