Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

.ipa

From Wikipedia, the free encyclopedia
File format used for software on Apple's iOS operating system
Not to be confused withInternational Phonetic Alphabet (IPA) orIndia pale ale (IPA).
For other uses of "IPA", seeIPA (disambiguation).
IPA
Filename extension.ipa
Developed byApple Inc.
Type of formatPackage format
Container forMobile apps
Extended fromzip,JAR

A.ipa file is aniOS andiPadOS applicationzip archive file which stores an iOS/iPadOSapp in abundle format. Each .ipa file includes a binary and can only be installed on aniOS,iPadOS, or ARM-basedmacOS device. Files with the .ipa extension can be uncompressed by changing the extension to.zip and unzipping. This is only recommended when editing the app itself. Some .ipa files will not have a .app file.

Most .ipa files cannot be installed on theiPhone Simulator because they do not contain a binary for thex86 architecture, only one for theARM architecture of mobile phones and tablets.[1] To run applications on the simulator, original project files which can be opened using theXcodeSDK are required. 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 is ade facto format used by Apple and there are no specifications of it. A form ofdigital rights management exists in the format to control redistribution to a single Apple ID.[2] Prior to iTunes 12.7 (September 2017), users had direct access to IPA files in the form of App Store downloads. Similar to how Android uses APK files to package apps, IPA files serve as the installation format for iOS and iPadOS.[3]

Structure of a .ipa file

[edit]

An IPA has a built-in structure foriTunes andApp Store to recognize.The example below shows the structure of an IPA:[4][additional citation(s) needed]

/Payload//Payload/Application.app//iTunesArtwork/iTunesArtwork@2x/iTunesMetadata.plist/WatchKitSupport/WK/META-INF

As shown above, the Payload folder is what contains all the app data. The iTunes Artwork file is a 512×512 pixelPNG image, containing the app's icon for showing iniTunes and the App Store app on theiPad. The iTunesMetadata.plist contains various bits of information, ranging from the developer's name and ID, the bundle identifier, copyright information, genre, the name of the app, release date, purchase date, etc.

It is common but undocumented to use a JPEG file foriTunesArtwork.[citation needed]

Since 2017, Apple has usedLZFSE instead of registered Zip algorithms in IPAs. The "compression method" field in this case is set to 99.[5]

Code signing is handled in the .app bundle directory. The META-INF folder only contains metadata about what program was used to create the IPA.[6]

Unsigned .ipa executables

[edit]

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 calledPayload and compressing the latter using the commandzip -0 -y -r myAppName.ipa Payload/.

It is then possible to install unsigned .ipa files oniOS jailbroken devices using third-party software.AppSync is the tool for installing such homebrew apps.AltStore and Sideloadly are tools that can also be used to install unsigned .ipa files to unjailbroken devices by using a developer account to temporarily sign the app for 7 days for testing purposes. Similar to the case of game console hacking, people are known to use this installation forpiracy, against the tool developer's wishes:[7] some underground communities form around buying an app and then sharing its DRM-free unsigned version.

See also

[edit]

References

[edit]
  1. ^"How to open an IPA file on Windows". Reincubate.Archived from the original on 2019-04-08. Retrieved2019-04-08.
  2. ^"itunes – How does iOS app DRM work, exactly?".Ask Different. 2012.
  3. ^Clover, Juli (2017-09-12),Apple Releases iTunes 12.7 With Major Changes, Including No Built-In App Store,MacRumors,archived from the original on 2017-09-13, retrieved2024-03-08
  4. ^"Reverse Engineering iOS Applications"(PDF). ARXAN. 2014. Archived fromthe original(PDF) on 2017-12-22. Retrieved2019-04-08.
  5. ^"unzip with lzfse support".sskaje. 23 August 2017. Archived fromthe original on 29 July 2021. Retrieved21 March 2023.
  6. ^"Pulling apart an iOS App".Raz. 29 December 2017. Archived fromthe original on 14 July 2020. Retrieved4 March 2020.
  7. ^"AppSync Unified :: Karen's Repo".cydia.akemi.ai. Archived fromthe original on 2020-07-14. Retrieved2020-03-04.
Archiving only
Compressing only
Archiving
and compressing
Software packaging
and distributing
Document packaging
and distributing
Retrieved from "https://en.wikipedia.org/w/index.php?title=.ipa&oldid=1338200533"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp