【问题标题】:Firebase Performance Monitoring in iOSiOS 中的 Firebase 性能监控
【发布时间】:2018-05-06 01:55:44
【问题描述】:

我正在尝试安装 Firebase 文档 https://firebase.google.com/docs/ios/setup#available_pods 中提到的 pod Firebase/Performance,但是当我尝试时遇到了问题。

[!] Unable to satisfy the following requirements:

- `Firebase/Performance` required by `Podfile`

Specs satisfying the `Firebase/Performance` dependency were found, but they required a higher minimum deployment target.

【问题讨论】:

  • 甚至我的最低 iOS 部署目标是 8.0
  • 您的 podfile 顶部有哪一行?像 platform :ios, '9.0' 之类的东西,发布你的完整 podfile
  • @RyanHeitner 平台:ios,'8.0'
  • 您是否包含了 Firebase/Core ?
  • @RyanHeitner 是的

标签: ios objective-c iphone cocoapods firebase-performance


【解决方案1】:

该错误具有误导性。如果您的依赖项(Firebase 性能)固定到低于 Firebase 性能所需的特定版本,则通常会出现此消息。例如,如果您将 Firebase/Analytics 固定到 3.x,则会收到该错误,因为 Firebase 性能需要 Firebase/Core 的 4.x。

总之,请尝试在您的 Podfile 中删除任何与 Firebase 规范相关的版本引脚。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-27
    相关资源
    最近更新 更多