Reply to Xcode 11, Command CodeSign failed with a nonzero exit code In case someone is still running into this, after hours of attempts this is what finally worked for me: Open Terminal, navigate to project folder and run "xattr -cr ." Then in Xcode clean project (Shift + Command + K) and rebuild. Good luck! Developer Tools & Services Xcode Sep ’23