.ipa: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{unreferenced|date=August 2011}} |
{{unreferenced|date=August 2011}} |
||
An '''.ipa''' file is an [[iOS]] application archive file which stores an iOS [[Mobile application software|app]]. It is usually encrypted with [[Apple Inc.|Apple]]'s [[FairPlay]] [[Digital rights management|DRM]] technology. Each .ipa file is compressed with a binary for the [[ARM architecture]] and can only be installed on an [[iOS]]-device. Files with the .ipa extension can be uncompressed by changing the extension to [[ZIP (file format)|.zip]] and unzipping.<br /> |
|||
.IPA files cannot be installed on the iPhone Simulator because they do not contain a binary for the [[x86]] architecture. To run applications on the simulator, original project files which can be opened using the [[Xcode]] [[Software development kit|SDK]] are required. Occasionally, however, some .IPA files can be opened on the simulator by extracting and copying over the .app file found in the Payload folder. Some simple apps are able to run on the simulator through this method. |
.IPA files cannot be installed on the iPhone Simulator because they do not contain a binary for the [[x86]] architecture. To run applications on the simulator, original project files which can be opened using the [[Xcode]] [[Software development kit|SDK]] are required. Occasionally, however, some .IPA files can be opened on the simulator by extracting and copying over the .app file found in the Payload folder. Some simple apps are able to run on the simulator through this method. |
||
Revision as of 11:28, 15 September 2014
An .ipa file is an iOS application archive file which stores an iOS app. It is usually encrypted with Apple's FairPlay DRM technology. Each .ipa file is compressed with a binary for the ARM architecture and can only be installed on an iOS-device. Files with the .ipa extension can be uncompressed by changing the extension to .zip and unzipping.
.IPA files cannot be installed on the iPhone Simulator because they do not contain a binary for the x86 architecture. To run applications on the simulator, original project files which can be opened using the Xcode SDK are required. Occasionally, however, some .IPA files can be opened on the simulator by extracting and copying over the .app file found in the Payload folder. Some simple apps are able to run on the simulator through this method.
Vulnerabilities
An unsigned .ipa can be created by copying the folder with the extension .app from the Products folder of the application in Xcode to a folder called Payload and compressing the latter using the command
zip -0 -y -r myAppName.ipa Payload/
It is then possible to install unsigned .ipa files on iOS jailbroken devices using third party software.
Structure of the IPA
An IPA has a built-in structure for iTunes and AppStore to recognize, The example below shows the structure of an IPA:
/Payload/
/Payload/Application.app
/iTunesArtwork
/iTunesMetadata.plist
As shown above, the Payload folder is what contains all the app data. The iTunes Artwork file is a 512×512 pixel PNG image, containing the app's icon for showing in iTunes and the App Store app on the iPad. The iTunesMetadata.plist contains various bits of information, ranging from the developer's name and ID (e.g., Google), the bundle identifier, copyright information, genre, the name of the app, release date, purchase date, etc.