上記のエラーに苦しんだが、ネットで検索してもGPTに相談しても改善しなかった。
結果的に以下の対応でようやく解決した。
1)iosフォルダのバックアップ取得
2)iosフォルダの削除
3)iosフォルダの再作成
flutter create .
4)バックアップから必要ファイルの戻し
・GoogleService-Info.plist
・AppDelegate.swift
・Info.plist
・Podfile
5)Pod install(念の為にXcodeのビルドキャッシュクリアも実施)
rm -rf ~/Library/Developer/Xcode/DerivedData // Xcodeのビルドキャッシュクリア
flutter clean
flutter pub get
cd ios
pod install
6)ビルド再実行
flutter clean
flutter pub get
flutter build ios