Reply to Command PhaseScriptExecution failed with a nonzero exit code Try running this command on your root directory: flutter create -i swift . This will regenerate the iOS project. Developer Tools & Services Xcode Sep ’21