【问题标题】:Error in Pod install: CocoaPods could not find compatible versions for pod "FirebaseFirestore"Pod 安装出错:CocoaPods 找不到 pod“FirebaseFirestore”的兼容版本
【发布时间】:2021-09-14 07:16:26
【问题描述】:
elamparithibalakrishnan@MacBook-Pro-3 ios % pod install    
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
  In Podfile:
    FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`)

    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.2.1, which depends on
      Firebase/Firestore (= 8.0.0) was resolved to 8.0.0, which depends on
        FirebaseFirestore (~> 8.0.0)

我在执行 pod install 命令时收到此错误,我删除了 podfile.lock 文件并执行了该命令,但这显示了与 Firebase 相关的错误。

谁能帮助我解决这个问题?谢谢。

【问题讨论】:

    标签: flutter cocoapods


    【解决方案1】:

    这个问题解决了,我只是把tag改成8.0.0

    pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'
    

    【讨论】:

      猜你喜欢
      • 2019-09-28
      • 1970-01-01
      • 2021-03-19
      • 2020-07-29
      • 2021-07-21
      • 2019-05-07
      • 2021-09-04
      • 2021-09-23
      • 2021-07-12
      相关资源
      最近更新 更多