After Upgrading to Xcode 13 my Builds are failing with Command CodeSign failed with a nonzero exit code.
My app is in version 3.4.4. While trying to build version 3.4.5 for Mac we have started to get this error:
Command CodeSign failed with a nonzero exit code
Have tried everything people have said in this and other forums:
Clean build folder; Restart Xcode
Add --deep to Other Code Signing Flags
Revalidate all Certificates
Manual and Auto Signing
The unsigned executable works fine. I am Evan able to Sign it manually and distribute locally.
For Store Submission we need this step to succeed.
Will appreciate help from Apple Technical Support
This started happening with Xcode 13.