By Alex Free
The .ipa file format is the official way iOS applications are distributed by Apple. For older devices that can no longer use the AppStore or other means, these files can be installed manually after they are 'decrypted' (untied from the specific AppleID used to purchase/download them) using various methods.
I think there is a better way to manage applications originally distributed in the .ipa file format. That is, to convert decrypted .ipa files to the format that jailbreak-only software/tweaks are distributed in traditionally, known as .deb.
IPA2DEB requires 4 arguments:
-
The filepath of the
.ipafile you want to convert, or a directory of.ipafiles (that IPA2DEB will bulk convert recursively). -
The filepath of the the output directory, where your converted
.debfiles will be written to as well as any error.txtlog files. -
Your contact info: first name, last name, email (all in quotes). Something like
"Your Name <[email protected]>". You don't have to really put an email here though if you'd rather not. -
Your website URL (used for
.debrelated info).
There are 3 possible log files that may be generated during conversion by IPA2DEB:
ipa2deb-extraction-failure-log.txtwill be generated if a.ipafile can not be extracted to be further processed.ipa2deb-conversion-failure-log.txtwill be generated ifdpkg-debfails to build a.debfile out of the original.ipafile due to missing required information.ipa2deb-duplicate-packages-log.txtwill be generated if any files are created more then once. The resulting duplicate deb files will be placed in aduplicatesdirectory, which will be removed on the next run of IPA2DEB if the output directory (2nd argument) remains the same.
These log files will be mentioned at the end of a conversion if they are generated. All files mentioned above are placed in the same output directory as the converted .deb files, specified by the 2nd argument given to IPA2DEB.
There is an additional script available in each IPA2DEB release, genrepo. This script requires 1 argument, a directory of .deb file(s). It will generate a Packages.gz and turn the directory into a valid Cydia repo that can be uploaded on a server to use.
IPA2DEB is released into the public domain, see the file unlicense.txt for more info.