FlutterのiOSビルドをしたところエラーになった。
Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side. Without CocoaPods, plugins will not work on iOS or macOS. For more info, see https://flutter.dev/platform-plugins To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions. CocoaPods not installed or not in valid state.
cocoapodsのインストールが出来ていないのが原因。新しいPCに移行してからiOSビルドをしていなかった。
メッセージ通り、 https://guides.cocoapods.org/using/getting-started.html#installation を参考に手順を進めた。
.zshrcを変更
# .zshrc export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH
cocoapodsのインストール
$ gem install cocoapods --user-install