Reply to Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code https://github.com/facebook/react-native/issues/31206#issuecomment-979751985 this solved my issue. Developer Tools & Services Xcode Aug ’22