无法在iOS上原生找到RNFirebase核心模块-未修复 [英] RNFirebase core module was not found natively on iOS - Not fixed

查看:40
本文介绍了无法在iOS上原生找到RNFirebase核心模块-未修复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 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. :)

这篇关于无法在iOS上原生找到RNFirebase核心模块-未修复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆