Error: Command CodeSign failed with a nonzero exit code after installing Xcode10 beta 5?

11,657

Hopefully this will help someone. I updated from Xcode 9 -> Xcode 10 beta 6 and received the non-zero exit code error. My fix was to go to Product -> Clean Build Folder.

After doing this all the errors went away and I was able to run my project.

Share:
11,657
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin about 2 years

    Briefly since downloading and installing Xcode 10 beta 5 I have not been able to get any Provisional Profiles to work. In fact, my application fails immediately with the following error message.

    Command CodeSign failed with a nonzero exit code.

    It appears there’s a disconnect with provisioning profiles and certificates within Xcode.

    Interestingly, when I switch on the Automatically manage signing option Xcode generates certificates. However my developer Provisional Profiles can't seem to find certificates. I have updated to the latest beta versions for Mac OS, iOS, and of course Xcode.

    Honestly, I have tried manually creating certificates as well as profiles with no luck. I have been trying to find a solution since downloading the beta version a few days ago.

    I would greatly appreciate any feedback and or suggestions for possible solutions.

    Thank you for your time.