【问题标题】:Specs satisfying firebase_analytics from .symlinks/plugins/firebase_analytics/ios dependency were found, but required higher minimum deployment target找到满足来自 .symlinks/plugins/firebase_analytics/ios 依赖项的 firebase_analytics 的规范,但需要更高的最小部署目标
【发布时间】:2021-10-11 11:22:34
【问题描述】:

我刚刚尝试使用 VNC Viewer 和 SSH 通过 CodeMagic 构建我的 Flutter 应用程序,但没有成功。

我尝试运行“pod install”,结果:

Analyzing dependencies
firebase_analytics: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "firebase_analytics":
  In Podfile:
    firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)

Specs satisfying the `firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`)` dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform `iOS` with version `9.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`.

我也尝试删除 Podfile.lock 和 pod install。结果相似。我也尝试过运行 pod repo update,然后运行 ​​pod update,结果与上述类似。

我也尝试手动将我的 Podfile iOS 版本更改为 10,但没有运气。

我尝试了这些命令的各种组合:

flutter clean
flutter build ios

pod install
pod update
pod repo update
pod install --repo-update

如有任何回复,我们将不胜感激

【问题讨论】:

    标签: ios xcode flutter cocoapods firebase-analytics


    【解决方案1】:

    我最初以为我已经用 12 尝试过,但事实证明我一定没有。 12 并且我能够解决这个问题,但我对任何人的建议是避免通过 CodeMagic 进行此设置,这不好玩!

    【讨论】:

      猜你喜欢
      • 2016-01-30
      • 1970-01-01
      • 2021-04-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-03
      • 2021-11-06
      • 2019-05-24
      相关资源
      最近更新 更多