Upgrade from xCode 14.2 to 14.3 PhaseScriptExecution failed with a nonzero exit code

Resolving this problem was one of the most tricky errors in my life..

I resolved this for a Flutter project, in your case it might be a native iOS project.

It’s easier to do the following:

1- Open your project using XCode

2- Search of "Symlinked..."

3- Replace source="$(readlink "${source}")" with source="$(readlink -f "${source}")"

4- Try again to build your project or export your ipa it should work

enter image description here

For reference check more details here

Leave a Comment