Reply to Upgrade from xCode 14.2 to 14.3 PhaseScriptExecution failed with a nonzero exit code Update cocoapods to the latest version, then run Product -> Clean Build Folder and archive again. This should fix your issue. Developer Tools & Services Xcode Jun ’23