You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter iOS项目执行pod install遇Firebase/Firestore版本兼容问题

Flutter iOS项目pod install时Firebase/Firestore版本兼容问题(未修改依赖)

未修改任何依赖的情况下,我的Flutter iOS项目执行pod install时出现Firebase/Firestore版本兼容问题,具体报错如下:

[!] CocoaPods could not find compatible versions for pod "Firebase/Firestore":
  In snapshot (Podfile.lock):
    Firebase/Firestore (= 10.15.0)

  In Podfile:
    cloud_firestore (from .symlinks/plugins/cloud_firestore/ios) was resolved to 4.13.3, which depends on
      Firebase/Firestore (= 10.18.0)

Specs satisfying the Firebase/Firestore (= 10.15.0), Firebase/Firestore (= 10.18.0) dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform iOS with version 12.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform

我已经尝试了以下操作,但问题仍未解决:

  • pod install
  • pod update
  • pod repo update
  • flutter clean
  • flutter pub get

此外我还升级了Flutter及所有依赖包,并且重新创建了Podfile和Podfile.lock文件,依然无法解决问题。有没有人遇到过相同的问题?

内容的提问来源于stack exchange,提问作者BeNdos88

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 14:32:39