Command /usr/bin/codesign failed with exit code 1

后端 未结 30 3444
执笔经年
执笔经年 2020-11-27 14:17

I have the following error:

Command /usr/bin/codesign failed with exit code 1

Here is what I already did for trying to fix this:

相关标签:
30条回答
  • 2020-11-27 14:40

    When I experienced this error, it was due to having been in Keychain Access, and choosing 'Disallow' when asked whether I wanted to let the program access a saved password. Going back in and selecting 'Allow' and typing my system password fixed the problem in XCode.

    0 讨论(0)
  • 2020-11-27 14:42

    In my case, I had an extra expired distribution certificate in my keychain - I deleted the certificate from KeyChain Access and the compilation started working again.

    0 讨论(0)
  • 2020-11-27 14:43

    I got this error the very first time I tried to make a provisioning profile by following the Provisioning Assistant and it turns out they fail to mention the WWDR Intermediate Certificate. I installed it and it worked fine for me.

    0 讨论(0)
  • 2020-11-27 14:43

    For me the problem was HTTP proxy

    0 讨论(0)
  • 2020-11-27 14:43

    For me I had code coverage enabled on the scheme of a framework rather than it's corresponding test scheme. Disabling the code coverage sorted the problem.

    0 讨论(0)
  • 2020-11-27 14:43

    A very simple answer to this very-complicated question. It involves no knowledge of code-signing and everything connected with it.

    Take an old app that is not needed any more. Make sure it works, then replace its code with that of the new app having the code-signing error. The old app should now work fine, accomplishing what you wanted with the new app.

    Only down side: the working app has the title of the old one.

    0 讨论(0)
提交回复
热议问题