相关疑难解决方法(0)

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

  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
Run Code Online (Sandbox Code Playgroud)

Pod 安装 分析依赖关系 cloud_firestore:使用“firebase_core”中定义的 Firebase SDK 版本“7.3.0” firebase_auth:使用“firebase_core”中定义的 Firebase SDK 版本“7.3.0” firebase_core:使用“firebase_core”中定义的 Firebase SDK 版本“7.3.0” firebase_core' [!] CocoaPods 找不到 pod“cloud_firestore”的兼容版本:在 Podfile 中:cloud_firestore(来自.symlinks/plugins/cloud_firestore/ios

找到了满足cloud_firestore (from .symlinks/plugins/cloud_firestore/ios)依赖项的规范,但它们需要更高的最低部署目标。

[!]由于未指定平台iOS,因此自动分配具有9.0目标版本的Runner平台。请在您的 Podfile 中为此目标指定平台。见 https://guides.cocoapods.org/syntax/podfile.html#platform

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

ios dart firebase flutter google-cloud-firestore

9
推荐指数
4
解决办法
6481
查看次数

CocoaPods找不到Pod“ Firebase / Core”的兼容版本| cloud_firestore,Flutter

我的广告连播有问题,请参阅下文

在iPhone X上以调试模式启动lib / main.dart ...运行pod安装... CocoaPods的输出:准备中

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
-> Fetching podspec for `shared_preferences` from `.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`

Resolving dependencies of `Podfile`
[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
  In Podfile:
    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) …
Run Code Online (Sandbox Code Playgroud)

firebase flutter google-cloud-firestore

5
推荐指数
8
解决办法
6199
查看次数

标签 统计

firebase ×2

flutter ×2

google-cloud-firestore ×2

dart ×1

ios ×1