Nandhakumar's Display Picture

Nandhakumar

May 07, 2023

1 min read

PhaseScriptExecution failed with a nonzero exit code

#xcode

#ios

#mobileapp


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 - https://developer.apple.com/forums/thread/725230

And the solution is simple,

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

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 😊.

I welcome your questions, feedback, and discussions on this topic. Don't hesitate to reach out if there's something you'd like to talk about.

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 ✌️