0

Possible Duplicate:
/usr/bin/codesign failed with exit code 1

I am getting this error after sending 7-8 builds to QA of my company. Thing tried :

  1. Reinstalled the appstore distribution provisioning profiles .
  2. Restated the xcode device.
  3. changed the bundle identifier in info.plist.

And moreover this error is coming alternately and when i am trying to do the clean build. alternately means first time this error is coming and next time it is gone and then again it is coming and then next time is gone. Can someone tell me what the hell is happening, i have nailed my head for hours.

Community
  • 1
  • 1
Rachit Singhal
  • 75
  • 1
  • 14

2 Answers2

1

There is some good advice on a related question /usr/bin/codesign failed with exit code 1:

...you can right click the error message in Xcode and choose expand to get more details, including a description of the problem.

Community
  • 1
  • 1
martin clayton
  • 76,436
  • 32
  • 213
  • 198
0

I also was struggling with the 'Command /usr/bin/codesign failed with exit code 1' error message.

Here is how I solved it

Right-click on info.plist (or whatever your application plist name is) look at it's targets. Make sure the box to the left is UNCHECKED. This is the default state.

Targeting the files don't work fine for the info.plist.

Edmar Miyake
  • 12,047
  • 3
  • 37
  • 38