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:
- 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
- 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…