LoginSignup
0
0

More than 1 year has passed since last update.

Flutterでpod installができなくなった時の対処法

Posted at

【参考にした】
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

0
0
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
0
0