Daniel Daniel - 4 days ago 6
iOS Question

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

I spent now 3 hours of searching for the above mentioned 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 guys have any suggestions?

Thank you very much in advance!

Answer

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

Comments