Flutter 运行时出现 Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies

Posted 茉莲晨曦

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Flutter 运行时出现 Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies相关的知识,希望对你有一定的参考价值。

在 git 更新到最新的代码后,就运行不起来了

报错

Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies

To update the CocoaPods specs, run:

pod repo update

Error running pod install

运行了 pod repo update 没作用

需要删除 ios工程中的Podfile.lock文件

再次运行 pod install 即可

以上是关于Flutter 运行时出现 Error:CocoaPods‘s specs repository is too out-of-date to satisfy dependencies的主要内容,如果未能解决你的问题,请参考以下文章