views:

2426

answers:

2

Hi guys,

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!

A: 

For anyone with this problem in the future (who doesn't want to rebuild their project), an additional question to ask is whether you have a space in your product name. I'd recommend going through your properties (right-click -> get info) of your project and your target. For my project, the only place that a space was needed was in the plist for the bundle display name.

umop
A: 

For my project, the only place that a space was needed was in the plist for the bundle display name.

Did you find that "space" also appearing elsewhere? Where?

I have a BundleDisplayName like "This(space)Name" because it was too long to appear on the iPhone as "ThisIsMyAppName".

Patricia