flutter firebase_core 和 flutter_geofire ios 依赖冲突

问题描述 投票:0回答:1

我正在构建一个地图应用程序, 当我尝试运行它时,我收到此错误:

[!] CocoaPods could not find compatible versions for pod "Firebase/CoreOnly":
  In Podfile:
    firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to 2.31.1, which depends on
      Firebase/CoreOnly (= 10.25.0)

    flutter_geofire (from `.symlinks/plugins/flutter_geofire/ios`) was resolved to 0.0.1, which depends on
      GeoFire (~> 4.0) was resolved to 4.1.0, which depends on
        Firebase/Database (~> 6.0) was resolved to 6.0.0, which depends on
          Firebase/CoreOnly (= 6.0.0)

我尝试了解决方案这里但仍然一样

ios flutter firebase google-maps
1个回答
0
投票

你可以尝试- 依赖覆盖:

并添加了 firebase_core 的另一个版本。

© www.soinside.com 2019 - 2024. All rights reserved.