Error: Phasescriptexecution failed with a nonzero exit code
Back to All

Error: Phasescriptexecution failed with a nonzero exit code

When trying to build the ipa app, this error appears, the instructions on the net are not effective, is it because the Targets Support File folder causes the error?

PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/macbookair/Library/Developer/Xcode/DerivedData/PhiTien-ftfqiblcnbzmbbgejpstpemxjvla/Build/Intermediates.noindex/ArchiveIntermediates/PhiTien/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/GoNativeCore.build/Script-5F313F104D5595DD031BBB71A0C6A5A2.sh (in target 'GoNativeCore' from project 'Pods')
cd /Users/macbookair/Desktop/ios/Pods
/bin/sh -c /Users/macbookair/Library/Developer/Xcode/DerivedData/PhiTien-ftfqiblcnbzmbbgejpstpemxjvla/Build/Intermediates.noindex/ArchiveIntermediates/PhiTien/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/GoNativeCore.build/Script-5F313F104D5595DD031BBB71A0C6A5A2.sh

/Users/macbookair/Library/Developer/Xcode/DerivedData/PhiTien-ftfqiblcnbzmbbgejpstpemxjvla/Build/Intermediates.noindex/ArchiveIntermediates/PhiTien/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/GoNativeCore.build/Script-5F313F104D5595DD031BBB71A0C6A5A2.sh: /Users/macbookair/Desktop/ios/Pods/Target Support Files/GoNativeCore/GoNativeCore-xcframeworks.sh: /bin/sh: bad interpreter: Operation not permitted
Command PhaseScriptExecution failed with a nonzero exit code