Soo I am continuously getting this error after doing all available solutions here such as this one: Error: RNFirebase core module was not found natively on iOS. I already followed that step by step. I updated my pod using pod update, installed my pods using pod install, all was successful but after running the app again with react-native run-ios, I still get that error after building. Do you guys have any idea as to why it doesn't get fixed?
-
Are you using flow? – Nunchucks Oct 16 '18 at 19:28
1 Answers
Thats really weird. I would try and do these things:
Have you tried looking at your xcode project's: Target > Your app > Build Settings > Header Search Paths to check if there is something like this:
${PODS_ROOT}/Firebase/Core/Sources
or similar, that is pointing to theFirebase/Core
?Also, if that is already present, try and remove your
Podfile.lock
and/orios/Pods
and then runpod install --repo-update
again.Also, if that does not work, try and remove the library from your
node_modules
by removing it frompackage.json
and then runningyarn install
ornpm install
again. Then, remove all yournode_modules
path and runyarn install
ornpm install
again. Then, add thereact-native-firebase
library, link it with react native, and reinstall the pods.
These are the steps I would try and do to fix it. I hope it helps you. :)

- 1,079
- 12
- 14
-
It still doesn't work :( I tried everything, I attached a screenshot of the exact build error I get from the terminal. Maybe there's something I missed? – Vince Gonzales Oct 17 '18 at 00:27
-
@VinceGonzales Try and remove your `ios/build` path and then rebuild the app – luizParreira Oct 17 '18 at 17:45
-
i have fixed this issue by adding: ${PODS_ROOT}/Firebase/Core/Sources in build settings. – Vinod Radhakrishnan Jan 15 '19 at 07:36