CocoaPods's specs repository is too out-of-date to satisfy dependencies
# 出现情景
导入一个去年的flutter项目运行的时候出现了下面这个问题
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
Error launching application on iPhone 11 Pro Max.
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
按照提示运行都不行
pod repo update
和
pod install
1
2
3
2
3
# 解决方法
于是使用了万能的删除大法,删除Podfile.lock
文件,重新编译,成功。
上次更新: 2023/01/12, 14:27:54