Exception: Error running pod install
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo updateException: Error running pod install
iOSビルド時のエラー。dependencies updateすると発生することが多い。
クリーンしてうまくいくときもあれば、そうでない場合もあったが、これやっとけば正解な手順がわかったのでメモ。
手順
cd ios-
ios/Pods/とios/Podfileios/Podfile.lock手動で削除 flutter run- 必要ならば、
sudo arch -x86_64 gem install ffi一度やればよい arch -x86_64 pod install --repo-updateflutter cleanflutter run