Hi, I struggled with this error message while trying to update my application. For 12 hours I wrestled with this idiotic error message. I even tried creating a new project from scratch, and that didn't work.
Then, while trying random things, I decided to use Apple's GUI compression utility to create my zip file, rather than the command-line zip utility.
Great thread but I got down to this part where it says your post solved the problem, but the link is not working below! Can you repost the correct link, thanks!
Quote:
Originally Posted by lajos
I have written a longish post about fixing code signing issues:
Hopefully the suggestions there can fix your problem.
I know this is not in line with what the program portal says, but try deleting all settings at the target level and have them only at the project level.
crabFish's suggestion might have gotten lost in the whole slew of posts, but it's what worked for me...
Make sure you've set the Active SDK to your iPhone Device and NOT the Simulator.
I spent 2 days trying to submit by going through every complicated step that people suggested, but kept getting the "Application failed codesign verification" error. I gave up for a week and then tried to tackle the problem again today. Changing my Active SDK from Simulator to iPhone Device is what fixed it for me.
I had exactly same problem (with distribution build, CodeSign and "invalid format") and I spent last sleepless night trying to resolve it.
Finally I created a brand new project ant copied all resources and code from "corrupted" project. I used the same provisioning certificates and - it worked!
So my solution is: copy all stuff to a brand new project, all resources, frameworks and code. It should help. Somehow project in iphone sdk can get awry with no reason :/
I'm having *almost* the same problem. I'm having the following message when I try to do codesign -vvvvv myapp.app
Code:
build/Distribution-iphoneos/Whats cool?.app: a sealed resource is missing or invalid
/WhatsCool/build/Distribution-iphoneos/Whats cool?.app/Whats cool?: resource modified
Resource modified??? What does that mean. I tried the solution described on the blog of TechieChok but I was unsuccessful.
Someone told me I was building the application before it was signed. If true how can I fix it?