Apr 19 2009

Create IPA from .app folder for the Iphone/Ipod touch to install through itunes.

An .ipa file can be opened by itunes and used to sync your iphone or ipod touch easily. The benifits of adding applications this way is to click once and have the application installed. Unlike making an iphone tunnel and using SCP to transfer the files over to the iphone or ipod touch.

I found this laying around the web and thought that it will probably useful in the future.
To build an .ipa file from a .app folder you will need to create a folder called Payload and place the .app folder inside of that.
Zip up the Payload folder, then rename the file with a .ipa extension. You can use any name you like so long as the extension is .ipa.

If you want the applications artwork to appear in iTunes (instead of a generic icon), you need to place a file called iTunesArtwork (with no extension) into the zip file on the same level as the Payload folder (not in it). This is actually a jpeg file of a 512×512 image and this will appear in iTunes for the app.

I haven’t had a chance to try this yet due to mostly developing web apps so far (No Mac OS Here) but I’ve seen many posts that it works. So any feedback would be great. Of course you need a jailbroken iphone or ipod touch for this to work along with having downloaded at least one legit free application from the apple app store.