Same issue here, running flutter 2.10.2 and xcode 13.2.1 builds fine, but I get the error when archiving.
Failed to package "/Users/userName/path"
Command PhaseScriptExecution failed with a nonzero exit code
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: