"Your application built but failed to pass Apple's validation tests"?

I’ve always been able to compile and run my Corona iPad apps fine but now since 2 days, when building for iOS using Corona it always finishes with this message:

"Your application built but failed to pass Apple’s validation tests. …
/Users/apple/Desktop/…appname.app: code or signature modified

  • (null)
    warning: Unable to extract codesigning entitlements from your application. Please make sure AppName is a valid Mach executable that’s properly codesigned. (-19050)"

When dragging the app into iTunes to install it, the iPad syncing finishes with this message:
"The app “AppName” was not installed on the iPad “PadNamebecause the app signature is not valid.”

I’ve got a certificate, created an app ID, created and downloaded the development provisioning profile (it’s also installed on the iPad), and I’ve included the bundle identifier in the build settings, all to no avail…

Can anyone help? Thanks! [import]uid: 10284 topic_id: 10491 reply_id: 310491[/import]

With the development certificate you shouldn’t need a bundle identifier. The Identifier is typically only necessary for distribution. [import]uid: 10903 topic_id: 10491 reply_id: 38219[/import]

Good point, you’re right, but the issue is… it doesn’t even work anymore when I try to build the app using my old general development provisioning profile, which used to work…

Any more thoughts in regards to what to do are highly appreciated… I’m currently trying to download the latest XCode (slow download here in China)… [import]uid: 10284 topic_id: 10491 reply_id: 38268[/import]

Ughh… solved it! This comment pointed me in the right direction: http://developer.anscamobile.com/forum/2011/03/16/application-failed-codesign-verification-over-and-over-again-ugh#comment-34399

What happened was that while I had the right keychain certificate installed, and *older, since-2-days-expired* certificate was still in there and overriding it! Deleting the older certificate solved things. [import]uid: 10284 topic_id: 10491 reply_id: 38274[/import]