我正在为一个 react-native 应用程序安装 firebase,我已经完成了 android 的安装,它可以毫无错误地同步和构建。但是我在 IOS 手动添加 firebase 时遇到了问题,不,我不能使用 cococapods。
最佳答案
这是react-native-firebase 的常见错误信息。 由于各种原因,React-native 链接经常失败。
因此,您需要学习本地库的手动链接才能不使用 cocoapod。 ( cocoa 足是垃圾!!!) 读这个。它解决了你的问题。 https://facebook.github.io/react-native/docs/linking-libraries-ios
我建议你仔细阅读step3。 试试吧!
关于ios 手动安装 firebase,出现错误 "firebase.h"找不到文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54355689/