Reply to Command CodeSign failed with a nonzero exit code I have actually found the answer to my own question but for anyone else that is having the same problem as me, you should clean up your project with shift + command + k which is what solved my problem Code Signing General Mar ’21