Command PhaseScriptExecution failed with a nonzero exit code

まずはこちらを追加

podfileの末尾にこちらを追加

次はpodを更新

その後にビルドを実行したら下記のエラーが発生

次はこちらを実行

目次
  1. 参考記事

参考記事

Xcode 12, building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64

Xcode 12, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64

error: ‘Flutter/Flutter.h’ file not found when flutter run on iOS