Edit: typo fixed.
I’m wondering what changes might’ve triggered the issue. You mentioned things were working ok, until all of a sudden I got the "Application failed codesign verification.
Did your code signing certificates expire right before your problem began?
If not, did you change the Corona build (like from stable build to one of the daily builds)? Or did you make changes to your lua code? If you haven’t changed the Corona build, and you’ve made no changes to your code right before the issue started happening, then you sure needed to fix the code signing certificate(s) and redo the provisioning profiles.
If you’ve clean slated your keychain (code signing certificates and provisioning profiles), and if you are using XCode, you may want to open the organizer, click on provisioning profile, and check to make sure you have the current provisioning profiles listed there. You can also click on “Refresh” button, which will fetch the provisioning profile from Apple Developer Center for you. EDIT: I just re-did my provisioning profiles (because I wanted to add another device for testing), and “Refresh” fetched Dev certificate, but not Ad Hoc or Distribution certificates. I needed to download Ad Hoc and Distribution certificates from Apple Dev Center and drag & drop them into Xcode provisioning profiles in organizer window.
Once you have provisioning profiles ready, when you generate your device build form Corona Simulator, make sure you use valid code signing certificate. I have 6 certificates to choose from after having messed with this process one too many times with test projects, etc. When I generate a device build, I use Ad Hoc certificate.
When I try generating device build using Developer Certificate , I get warning: Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate. (-19011)
Very disturbing, and it drove me nearly insane. I still get the same error, and I now don’t even think about it – because all I need is Ad Hoc certificate to generate a device build to test the game on my device (and test the In-App Purchase through iTunes Connect sandbox). And when I’m ready to upload my game to App Store, I’d use Distribution Certificate (which also works perfectly fine).
I don’t even know what I need the Developer Certificate for. (If anyone on this forum knows what Developer Certificate is for, I’d love to hear about it. If the warning that comes up when I generate device build using Developer Certificate is a serious problem that I should correct, please let me know. I wasted over a week dealing with the warning that comes up when I use Developer Certificate (while my Distribution certificate and Ad Hoc certificate were working perfectly fine). If I need Developer Certificate to build my game to go live on App Store, I’d like to know right away – but from what I understand, all I need is the Distribution Certificate to generate my final release build.
Anyhow, once you have the new build of your app generated (using Ad Hoc certificate), before you install it on your device, you may want to delete your app that’s already installed on your device. This is just to make sure things get cleaned out before you install your newly built app.
Hopefully, Ad Hoc certificate will get your app built and run perfectly fine on your device.
Naomi
[import]uid: 67217 topic_id: 17115 reply_id: 64413[/import]