Xcode 14.3 Archive issue Command PhaseScriptExecution failed with a nonzero exit code

Xcode 14.3 or Xcode 14.3.1 Archive issue easy to fix :-

Here is a quick fix to resolve this issue:-

1: Open your .xcworkspace xcode project file

2: Project navigator ->

3: Go to Pods/Target Support Files/{Project_name}-frameworks.sh (if you have multiple targets repeat this step for each target) on your project.

4: Search for “source=”$(readlink “${source}”)”

5: Replace it with “source=”$(readlink -f “${source}”)”

just add -f (framework) that should be solve your issue.

else downgrade Xcode Version to 14.2

i tried it’s work great.


Posted

in

by

Tags: