1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【備忘録】Flutterの CocoaPods's specs repository is too out-of-date to satisfy dependencies. の治し方

Last updated at Posted at 2023-08-28

はじめに

ios, macosでビルドしようとしたらたまにこのエラー出て毎回解決方法ググってるので、半ば自分用のメモとして残します。

結論

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



Exception: Error running pod install

以下のコマンドを順に実行していくと直ります。

解決策
cd ios(macos) # ←ビルドできない方のディレクトリに移動
rm Podfile.lock
pod install --repo-update
cd ..
flutter clean
flutter run
1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?