无法在iOS上原生找到RNFirebase核心模块-未修复 [英] RNFirebase core module was not found natively on iOS - Not fixed
问题描述
Soo我在这里做了所有可用的解决方案后,一直在收到此错误:
那真的很奇怪.我会尝试做这些事情:
-
您是否尝试过查看xcode项目的内容:目标">应用">构建设置">标题搜索路径",以检查是否存在以下内容:
$ {PODS_ROOT}/Firebase/Core/Sources 代码>或类似的内容,它指向
Firebase/Core
? -
如果已经存在,请尝试删除您的
Podfile.lock
和/或ios/Pods
,然后运行pod install--repo-update
再次. -
此外,如果这不起作用,请尝试从
package.json
中将其从node_modules
中删除,然后再运行yarn再次安装
或npm安装
.然后,删除所有node_modules
路径,然后再次运行yarn install
或npm install
.然后,添加react-native-firebase
库,将其与react native链接,然后重新安装吊舱.
这些是我将尝试并尝试解决的步骤.希望对您有帮助.:)
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:
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. :)
这篇关于无法在iOS上原生找到RNFirebase核心模块-未修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!