Reply to Upgrade from xCode 14.2 to 14.3 PhaseScriptExecution failed with a nonzero exit code I encountered a similar problem, and I found @vadimwe's solution to be effective. I greatly appreciate this. It's important to ensure that you update CocoaPods before implementing @vadimwe's solution. Thanks @AfsalMe Developer Tools & Services Xcode May ’23