A solution to: Application failed codesign verification

Okay, so you’ve spent months working hard on your iPhone project, and you finally go gold.  You get sign off from your client, you’ve squashed the last of your bugs and you think “I’m ready to submit this bad boy!”.  You package it up for release as per Apple’s instructions, and then try and upload it using the Application Loader that Apple supplies.

Then you get a message from the Application Loader:

Application failed codesign verification.

What the??  If you check the activity log you also see the following:

A sealed resource is missing or invalid

After countless hours trawling Google and finding nothing, I worked out that I needed to do two things:

  1. Remove all files from the project that started with ._ (dot then underscore).  See my previous post for more, however you just open the terminal and run find . -name “._*” -print0 | xargs -0 rm -rf from the command line in the root of the project
  2. Make sure that the Icon File setting in the info.plist file is empty

After making these two changes, and rebuilding my project (make sure you do a “clean all”) it submitted to Apple without problem.  I really hope that helps someone…

6 Replies to “A solution to: Application failed codesign verification”

  1. Dude!! You just saved me a total mental breakdown. The facebook iphone library is shipping with these types of files inside.

    Send me your paypal email and i’ll buy you a beer.


  2. Hi,

    awesome! I nearly sat the whole day figuring out what’s going wrong. Now everything works.

    I don’t understand however why you remove the icon.png reference. Works for me even with the icon set.


Leave a Reply