RNFirebase core module was not found natively on iOS - Not fixed

☆樱花仙子☆ 提交于 2021-02-10 17:31:28

问题


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/Sources or similar, that is pointing to the Firebase/Core?

  • Also, if that is already present, try and remove your Podfile.lock and/or ios/Pods and then run pod install --repo-update again.

  • Also, if that does not work, try and remove the library from your node_modules by removing it from package.json and then running yarn install or npm install again. Then, remove all your node_modules path and run yarn install or npm install again. Then, add the react-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. :)



来源:https://stackoverflow.com/questions/52840872/rnfirebase-core-module-was-not-found-natively-on-ios-not-fixed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!