Reply to Xcode 11, Command CodeSign failed with a nonzero exit code Check the Certificate which named Apple Root Certificate Authority, make sure you select the option Use System Defaults under the Trust menu. Developer Tools & Services Xcode Apr ’23