问题
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?
Edit This is the exact error I get from terminal:
回答1:
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/Sourcesor similar, that is pointing to theFirebase/Core?Also, if that is already present, try and remove your
Podfile.lockand/orios/Podsand then runpod install --repo-updateagain.Also, if that does not work, try and remove the library from your
node_modulesby removing it frompackage.jsonand then runningyarn installornpm installagain. Then, remove all yournode_modulespath and runyarn installornpm installagain. Then, add thereact-native-firebaselibrary, 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. :)
来源:https://stackoverflow.com/questions/52840872/rnfirebase-core-module-was-not-found-natively-on-ios-not-fixed