🐙

【Flutter】CocoaPods's specs repository is too out-of-date to satisfy..

に公開

iosのsimulatorを実行した際、エラーが発生した。

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
  pod repo update

対応

キャッシュの問題のため、以下の手順で解決できる様。

cd ios  // プロジェクトフォルダ内のiosフォルダに移動
rm Podfile.lock  
pod install --repo-update
cd ..
flutter clean
flutter run

参考

https://qiita.com/Yu_unI1/items/053cc060c592cce6e6c4

Discussion