I initially copied the AppName.app directory to a FAT32 flash drive and then tried to build the IPA file on it. I could drop it into iTunes apps but was unable to successfully sync with the iPhone. Redoing it on the Mac file system and it worked just fine.
I presume that FAT32’s missing file attributes may have had something to do with it.
Here is how I built it (using the shell): mkdir Payload; mv TestAdhoc.app Payload; zip -0 -y -r TestAdhoc.ipa Payload/
Notes:
- I don’t know if the -0 (zero) is needed so that the files are not compressed.
- If you put this in a script you will have to remove any previous Payload directory and TestAdhoc.ipa file.
As a side note it is worth peeking at the files in the AppName.app directory just to make sure you do not have garbage that inflates the install file size or is info you don’t want on the user’s device. Anything unwanted should be removed from the Corona project’s directory and the app rebuilt.