pod“FirebaseAppCheck”需要更高的最低 iOS 部署版本

问题描述 投票:0回答:1

我正在使用 Flutter 构建一个应用程序,使用 Firebase 作为后端。直到昨天,构建工作正常,但现在突然不再为 iOS 构建,而是给我这个错误消息:

Error: The pod "FirebaseAppCheck" required by the plugin "firebase_app_check"
requires a higher minimum iOS deployment version than the plugin's reported
minimum version.
To build, remove the plugin "firebase_app_check", or contact the plugin's
developers for assistance.

深入研究详细输出,我还可以找到这个:

 [!] CocoaPods could not find compatible versions for pod "FirebaseAppCheck":
      In snapshot (Podfile.lock):
        FirebaseAppCheck (= 10.18.0, ~> 10.18.0-beta)

      In Podfile:
        firebase_app_check (from `.symlinks/plugins/firebase_app_check/ios`) was
        resolved to 0.2.1-16, which depends on
          FirebaseAppCheck (~> 10.22.0-beta)

    Specs satisfying the `FirebaseAppCheck (= 10.18.0, ~> 10.18.0-beta),
    FirebaseAppCheck (~> 10.22.0-beta)` dependency were found, but they required
    a higher minimum deployment target.

有谁知道这到底意味着什么以及如何解决它?

由于上述主要错误消息,我已经尝试增加 iOS 最低部署版本,但这不是解决方案。当我指定 iOS 17.0 时,它甚至给了我错误

我还在 pubspec.yaml 中对 firebase_app_check 插件的版本要求进行了一些实验,对其进行了升级和降级,但这也不起作用。

flutter firebase cocoapods
1个回答
0
投票

您需要更新您的cocopod版本,然后需要更新ios中的所有软件包。看看我的这个回答。它包含精确的步骤。

https://stackoverflow.com/a/78240465/22646405

© www.soinside.com 2019 - 2024. All rights reserved.