Reply to Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code Solution from @Alquopio6 worked for me, but yes, many ads. Long story short - open Targets - [your target] - Build Phases - [CP] Embed Pods Frameworks - clean all the code, that you have in the field under /bin/sh Developer Tools & Services Xcode May ’23