I have been trying to solve this problem for the best part of a month now and I have managed to get nowhere.
Here is the problem, after packaging my app for distribution, I go to the build directory and zip the app package. I then use the Application Loader to send to Apple. The error response I get is :
"Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate."
I am using Titanium Developer 1.2.1.
I am compiling against SDK 3.2
Also there are problems with the package that is generated (not using the correct icons and also including an icon called email@example.com. Where this comes from I don't know. Anyway, before zipping the application package, I add correct versions of these icons.
So, the problem is not with my provisioning file, I have deleted and re-created from scratch all the certificates and profiles a number of times.
The problem is also not with my AppID.
xCode has been re-installed.
The app has been created from scratch.
I have read reams and reams of thoughts on the subject in the non-appcelerator dev world an no-one appears to have a definitive solution.
Over the past month I have tried, many, many combinations to get past this last hurdle with no success.
However, there is one thing that COULD be going on that I cannot resolve.
Is it possible that when my application is being built for distribution, it is using the DEV certificate and not the Distribution certificate?
Also, one possible solution would be to compile the distribution from xCode itself, but each time I try, I get an iPhone app, not an iPad app.
All thoughts and suggestions welcomed.