Search code examples
iosiphoneexit-codecodesign

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


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:

  • set the bundle identifier to com.server.pgmname
  • set the code signing to "Any Iphone OS Device"
  • set the Code Signing Identity to my Distribution identity.

The error only occurs when I try to build on my device, on the simulator everything works fine.

Do you have any suggestions?


Solution

  • I just created a new project, copied all my classes and resources and then it worked!