Codesign failed with exit code 1

While building the final 1.0 product of Be Tv, I encountered the following error: “Command /usr/bin/codesign failed with exit code 1″. Searching the internet resulted in some posts with tips like check your certificates & provisioning profiles, check your app id for typos, .. After going through the whole distribution process, I was pretty sure that the aforementioned things were ok.

Eventually I found what caused the error, I had flagged the Info.plist file as Target, thinking it was necessary. (The checkbox at the far right) Unchecking it (which is the default state) solved it. When faced with the dreadful codesign error, here’s something extra you can check.

Tags: ,

5 Responses to “Codesign failed with exit code 1”

  1. Justin Guluarte says:

    Which checkbox exactly…I don’t see any in the info.plist file, or in the codesign section of the build options. I also cannot figure out what is causing my issue >.<

  2. The checkbox isn’t located in the info.plist or codesign section. The checkbox is located in the upper right pane when you open Xcode, the pane listing files above the editor pane. One of the shown columns is called Target, it has an “aim” icon.

    But it’s rather unlikely that this (the problem I had) will be your problem too.

  3. Mark says:

    I was having this issue, along with some previous Keychain issues. I deleted the “WWDR intermediate certificate” and my developer certificate from Keychain and redownloaded them again and added them to Keychain. Solved the code signing error for me.

  4. Seb says:

    Same for me… after several hours trying everything… simply erasing every WWDR certificates AND every developer certificates and reinstalling them solved the problems!
    Thanks Mark!

  5. Fawaz says:

    IT WORKED!!!! THANK YOU!!! After 3 hours of fiddling!! Oh thankYOU!!!

Leave a Reply