LoginSignup
1
0

More than 1 year has passed since last update.

android studioで起こったpodエラーの対処

Last updated at Posted at 2021-05-10

android studioにてflutter iosをrunすると以下のエラーが発生

The sandbox is not in sync with the Podfile.lock. 
Run 'pod install' or update your CocoaPods installation.

エラー内容を翻訳すると

「サンドボックスはPodfile.lockと同期していません。 「podinstall」を実行するか、CocoaPodsインストールを更新します。」

とのこと、、、

解決法

android studioのターミナルからプロジェクトディレクトリ/iosフォルダに行き

podの存在を確認

$ pod outdated

すると

Updating spec repo `trunk`

と表示されたのでpod自体はインストールされているようで

$ pod update

を実行!
自分の場合はpodファイルがあったので updateするとビルドに成功しました!

もしpodがインストールされていなかった場合は

$ pod install 

を実行してインストールしてください。

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