gpt4 book ai didi

ios - 如何解决 flutter 上的 pod install 错误?

转载 作者:行者123 更新时间:2023-12-03 15:13:21 27 4
gpt4 key购买 nike

  cloud_firestore: ^0.16.0
firebase_auth: ^0.20.0+1
smooth_star_rating: ^1.0.4
google_maps: ^4.0.0
firebase_core: ^0.7.0
rxdart: ^0.24.1

Pod installAnalyzing dependencies cloud_firestore: Using Firebase SDKversion '7.3.0' defined in 'firebase_core' firebase_auth: UsingFirebase SDK version '7.3.0' defined in 'firebase_core' firebase_core:Using Firebase SDK version '7.3.0' defined in 'firebase_core' [!]CocoaPods could not find compatible versions for pod"cloud_firestore": In Podfile:cloud_firestore (from .symlinks/plugins/cloud_firestore/ios)

Specs satisfying the cloud_firestore (from .symlinks/plugins/cloud_firestore/ios) dependency were found, butthey required a higher minimum deployment target.

[!] Automatically assigning platform iOS with version 9.0 ontarget Runner because no platform was specified. Please specify aplatform for this target in your Podfile. Seehttps://guides.cocoapods.org/syntax/podfile.html#platform.


每当我尝试安装 pod 时,我都会在终端上收到此错误。

最佳答案

正如错误所说,我们与 firebase 包不兼容,所以:
我去了 Podfile 并升级到 10(平台:ios,'10.0')并且错误消失了;
作为附加说明:
我之前评论过那行,所以我的第一次尝试是取消评论并升级到 9,但它不起作用。

关于ios - 如何解决 flutter 上的 pod install 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65943260/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com