Flutter - error Xcode:

When taking iOS build(archiving) of a flutter project, it shows an error message: " command PhaseScriptExecution failed with a nonzero exit code"

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

Flutter - error Xcode:
 
 
Q