Xcode Cloud build failed for Flutter with Command PhaseScriptExecution failed with a nonzero exit code

I am trying to Integrate of Xcode Cloud with Flutter iOS project. But, getting the error of Command PhaseScriptExecution failed with a nonzero exit code. Kindly find the screenshot for the same and share the your valuable suggestions. Thank!

Please find the attached "ci_post_clone.sh" file for your reference. Thanks!

@testineed did you find a solution for this?

Xcode Cloud build failed for Flutter with Command PhaseScriptExecution failed with a nonzero exit code
 
 
Q