Maybe I am not very smart, or maybe Apple makes the life of developers utterly miserable, or maybe I am stubborn to try to use IntelliJ instead of that horrible piece of cr*p called Flash Builder.
Whichever of the three it is, I am sure I'm not the only one that gets rather frustrated because of not being able to get a Flex Mobile app through all steps of App Store submission.
I have followed every step in these two guides:
These however are tailored to Flex/Flash Builder, so in some cases one needs to improvise. It would be FANTASTIC if one of you (staff or readers) could provide a step-by-step tutorial to outline precisely what to do for IntelliJ (I am currently trying 11.1).
I am not delivering to my client because I am apparently too stupid to get this to work. Or *whispers* should I go back to Flash Builder and try things from there?
The problems I have remaining are:
1. Icons. I have included in the application descriptor:
<image72x72>Icon-72.png</image72x72>The file with the path Icon.png cannot be packaged unless the descriptor field application.icon.image57x57 is set to Icon.png
Yet Application Loader complains I need to define in Info.plist CFBundleIcons, CFBundleIconFiles, CFBundleIconFile, or provide a default icon.png of 72x72 (it is an iPad app). So, I included Icon.png in the bundle (using the IntelliJ dialog). Error when building:
Sigh. It is, isn't it? Should I set those Info.plist keys? If so, how?
2. Failing codesign verification.
I apparently do not seem to grasp this whole neurotic Apple developer & distribution certificate mess. By now my Keychain Access is populated by 10 or so certificates, I have a number of .p12 files, .cer files, .mobileprovision files... I am not even going to repeat my steps, because they apparently do not work. According to Application Loader, "the signature is invalid, contains disallowed entitlements, or was not signed with an iPhone Distribution Certificate."