用于生成锁定文件的 CocoaPods 版本(1.14.3)高于当前可执行文件的版本(1.11.3)

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

当我尝试在 ios 模拟器中运行 Flutter 应用程序时,它显示此错误。

[!] The version of CocoaPods used to generate the lockfile (1.14.3) is higher than the version of the current executable (1.11.3).
    Incompatibility issues may arise.

我尝试过的:我删除了 Podfile.lock 并尝试了

pod install
,但它给出了这个错误

Analyzing dependencies
[!] `GoogleAppMeasurement` requires CocoaPods version `>= 1.12.0`, which is not satisfied by your current version, `1.11.3`.

操作系统:macOS 蒙特利

ios flutter macos mobile simulator
1个回答
0
投票

这对我有用

运行此命令

brew cleanup -d -v

然后运行以下命令

brew install cocoapods
© www.soinside.com 2019 - 2024. All rights reserved.