Comment on Xcode 11, Command CodeSign failed with a nonzero exit code Dude I spent the last 5 days working on that issue... Nothing worked, but your solution did ! You should get massive upvotes for this one, and probably add that answer to every Stackoverflow's thread, because your message is VERY WELL hidden ! Developer Tools & Services Xcode Dec ’22