Reply to Xcode 11, Command CodeSign failed with a nonzero exit code what worked for me was to reinstall the profile... then Xcode updated the list of profiles properly. go figure... Developer Tools & Services Xcode Jan ’23