我是 Firebase 的新手。根据他们的 iOS 设置指南,当我创建新应用程序以在控制台中配置 Firebase 时,我应该在 podfile 中添加 pod 'Firebase'
。
还提到,默认情况下,此 pod 包含 firebase-analytics
。但是 pod 'Firebase/Core'
有什么用呢?因为它还包括分析。
我真的很困惑。我还需要包含 pod 'Firebase/Core'
吗?
最佳答案
您不需要包含 pod 'Firebase/Core'。 Core 是 pod“Firebase”的默认子规范,将自动包含在 pod“Firebase”中。对于当前的 Firebase pod 组织,Core 的目的是包含 Analytics。这在未来可能会改变。
详细信息在 podspec .
关于ios - 在 iOS 中安装常规 Firebase 和 Firebase 核心有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39593860/