【问题标题】:Flutter: build failed iOS running pod installFlutter:构建失败的 iOS 运行 pod install
【发布时间】:2022-11-12 10:35:01
【问题描述】:

我正在尝试构建 iOS Flutter 应用程序。它向我抛出了这个错误:

https://pastebin.com/NG6EWWcj

Error running pod install

【问题讨论】:

  • 请确保您的问题是独立的。我们需要回答问题的所有内容都应该包含在问题的正文中,而不是在外部站点上。

标签: flutter


【解决方案1】:

您的日志显示两个错误

第一的

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

这告诉你,如果你想使用cloud_firestore,你将不得不提高你的最低iOS版本要求。执行此操作的过程在here 中进行了解释,例如

  [!] 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`.

这个问题已经详细回答了here

【讨论】:

    猜你喜欢
    • 2019-07-21
    • 1970-01-01
    • 1970-01-01
    • 2020-12-28
    • 2020-08-18
    • 2021-09-13
    • 2020-09-15
    • 2020-06-04
    • 2022-07-20
    相关资源
    最近更新 更多