【参考にした】
https://zenn.dev/yu1ro/articles/2507fe2f139ad3
ほぼ同じ内容だけど自分用で備忘録も兼ねて。。
pod installした際に以下エラーなった時の対処法
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
対処法
1. PodfileとPodfile.lockを削除
2. flutter cleanを実行
3. pod repo updateを実行
→ 時間かかる場合あるが裏で動いているから諦めるな!!
4. Podfileが無いままiOS側を起動を試みる → Podfileが生成される
5. Podfileを削除前の状態に戻す(独自で入れたライブラリの記載を追加し直す)
6. pod install実行
メリークリスマス🎄🎅
作成日:2022/12/23