Xcode 11, Command CodeSign failed with a nonzero exit code

Ever since updating (against my will) to Xcode 11, I'm getting this error when I try to build my project:

"Command CodeSign failed with a nonzero exit code"

I've tried cleaning my project, resetting my login keychain, and restarting my computer, but I still get this error... what to do?


I changed the build products location from the default to project relative. This caused the "Command CodeSign failed with a nonzero exit code".

When I changed the build products location back to the Derived Data folder (default location for Xcode) the build had no errors.

I tried to delete the build products from the new location but it did to matter. I had to use the Xcode default or it broke my project.

I am using Xcode26 beta.

Xcode 11, Command CodeSign failed with a nonzero exit code
 
 
Q