Nandhakumar's Display Picture


May 07, 2023

1 min read

PhaseScriptExecution failed with a nonzero exit code




Hi There! 👋

If you have updated Xcode from 14.2 to 14.3, there is an issue in archiving & publishing your app to App Store

After researching this issue, I found a workaround in Apple’s Developer forum

Forum Ref -

And the solution is simple,

Open [Your App Name]/ios/App/Pods/Target Support Files/Pods-[Your App]/Pods-[Your App]

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

And people say that the issue is due to CocoaPods.

Hope this helps you to resolve the issue.

Thanks For Reading!

Hope you have learned something new today 😊.

If you find this post helpful Tweet this Post

Follow and connect with me on Twitter, Instagram, Email and LinkedIn for more interesting stuff like this.

Cheers ✌️