Archive error: PhaseScriptExecution failed with a nonzero exit code
Back to All

Archive error: PhaseScriptExecution failed with a nonzero exit code

When archiving the app I get this error:

ios/Pods/Target Support Files/GoNativeCore/GoNativeCore-xcframeworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code

Any idea what's causing it?

Please note that I opened the file ending in .xcworkspace which created the pod. And then added a new target to the pod which is the app that I tried to archive.

Thank you