首页 > 解决方案 > Flutter IOS,CocoaPods 找不到 pod“Firebase/Analytics”的兼容版本

问题描述

这是一个错误,我以前不使用。我在flutter 2.5升级后得到了这个。

我试过删除 Pods/、podfile.lock、repo 更新。

但仍然是错误。

 [!] CocoaPods could not find compatible versions for pod "Firebase/Analytics":
      In Podfile:
        firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 8.3.4, which depends on
          Firebase/Analytics (= 8.8.0)
    None of your spec sources contain a spec satisfying the dependency: `Firebase/Analytics (= 8.8.0)`.
    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.

标签: iosfirebaseflutter

解决方案


推荐阅读