LoginSignup
0
0

More than 1 year has passed since last update.

git cloneからflutter pub get

Posted at

概要

Flutter初心者です。環境構築で詰まったのでメモ書き。
FlutterのプロジェクトをGitHubからcloneしてきた際、環境構築の手順としては
まずfirebaseと連携するために

flutterfire configure

pubspec.yamlファイルに記述されているパッケージをダウンロード・インストールするため

flutter pub get
flutter run

でエラー

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
Error launching application on iPhone 13 Pro Max.

対処

iosフォルダにあるPodfileとPodfile.lockを削除する。

プロジェクトフォルダにて下記コマンドを実行

flutter clean

iosフォルダで

cd ios
pod repo update

最後プロジェクトフォルダにて

flutter run

以上でiosは動いた。

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