LoginSignup
12
1

More than 3 years have passed since last update.

FlutterでFirebase_massagingのiOSセットアップしたら、デバッグ起動時にError: CocoaPods's specs repository is too out-of-date to satisfy dependencies.となった話。

Last updated at Posted at 2020-10-08

エラー内容

下記の記事を参考にして、FlutterでFCMを用いたプッシュ通知のセットアップをしていたのですが、iOSのセットアップをしたら、デバッグ起動時にエラーが出ました。
https://note.com/welchi/n/n649728c5574d#Q6abi

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

で、記事の指示と、エラ-メッセージの下に
pod repo update
を実行してくださいとあるので、やってみましたが、相変わらずダメ・・・

対応

下記記事の画像部分の通り、やったらうまく行きました。
https://github.com/flutter/flutter/issues/32400
スクリーンショット 2020-10-08 15.31.55.png

①flutter clean
②pod repo update
③/ios/Podsの中身全てと、/ios/Podfile.lockを消す。

12
1
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
12
1