This should have been the easy bit.... Having spend weeks developing an AIR application (using a developer certificate) the big day arrived to upload the App to the AppStore for review. That was Sunday everning (48 hours ago) and since then I've been trying to get my App passed the "Apple Application Loader" with out any luck. I normally work on a Windows machine but have also tried the Mac Key Chain approach without any luck so here is my cry for help. So the steps I followed are:
I get a nice and shiny ipa file which I then put on my mac and try to upload it using Application Loader which rejects it with:
Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate
I've tried to regenerate everything about 20 times now on Mac and Windows but always with the same result. Any suggestions would be greatly appreciated.
Welcome to the wonderful world of Apple signing.
Is there any way you could do all the code signing on the Mac? It's
going to be challenging to decipher what the problem is using the method
you outlined below.
The only thing I can suggest is to make absolutely sure that you're
using Distribution provisioning profiles along with the matching
Distribution cert. I've created a number of tutorials showing the
process for creating Distribution profile/certs here:
It could be in the way the cert is created with openssl, hard to tell
"Welcome to the wonderful world of Apple signing" never seen anything like it - it's a wonder that any Aps end up in the AppStore.
I'll go through your tutorials today and start afresh from my mac but in the mean time could you / someone clarify a few points for me:
I thought writing good Aps was the tricky bit!
3 Days later - I figured it out and for the rest of the world who will ever try to do the same thing:
So moral of the story is: Make sure that
iTunes Connect Bundle ID = iOS Developer AppID (without the first 10 or so digits) = CS5.5 Publish Setting - Deployment - AppID
Or loose lots of sleep :-)
I've spent many hours creating and revoking certificates today because I couldn't upload to the App store through application loader. The ipa distribution files always installed to my iPad but would not be accepted for review. Finally, I came across this post and followed your video tutorials. I can't believe it but this time my app uploaded. Here's my question. Since uploading the app, I decided to test the app once again on my iPad with the new certs and provisioning profiles. I was able to get the app onto my device using the development cert and profile but NOT with the distribution cert and profile. Now I'm worried that the app I uploaded will have a problem. Do you know why an app would be accepted for review but not be able to install onto my device? It's weird that all of the earlier failed distribution apps would install to my iPad but didn't pass application loader. Any thoughts?
When you sign an app for distribution you can't easily install on your
device to test with. Technically you can go through a commandline
process with Xcode tools to get it to install, but once it's signed for
distribution, don't worry that it doesn't install. If you've tested the
app with the developer signing, and everything works as planned, then
the final app should be fine. Besides, Apple will certainly tell you is
something isn't right with your app.