Thursday, August 14, 2008

.IPA - how to install on iPhone

.IPA Files are plain zips, you can install them without iTunes by doing the following:
Open console or ssh to your iPhone.
Create a temporary directory and upload your .ipa file there.
Enter the directory and unzip the file:
unzip file.ipa
If you don't have unzip on your phone, install it by typing apt-get install unzip as root.
If you followed the steps, you should get a Payload directory and an iTunesArtwork file. We should now move the application to the Applications directory (if the application is called Test):
mv Payload/Test.app /Applications/
Since the ipa does not contain correct permissions, you should change them - I recommend setting 0755 for the executable the and 0644 for files, but being more permissive also works:
chmod 0777 /Applications/Test.app -R
If you don't know what you're doing, this should make the application work (but better learn the unix permissions). You can clean the directory, where we extracted the .ipa.

Lets respring now by doing killall SpringBoard and you're ready!

3 comments:

Anonymous said...

Excellent guide! Thank you. Saves me having to open up iTunes! :)

Anonymous said...

Awesome when iTunes isnt so... available. (note: not the Applications under mobile)

Abriza said...

mv Payload/Test.app /Applications/
Since the ipa does not contain correct permissions, you should change them - I recommend setting 0755 for the executable the and 0644 for files, but being more permissive also works:

chmod 0777 /Applications/Test.app -R
If you don't know what you're doing, this should make the application work (but better learn the unix permissions). You can clean the directory, where we extracted the .ipa.


huh?!? where do u find this "mv Payload/Test.app /Applications/" or do it?....
i got the unziped flies, but where do i move it?...where is the application file???