如何在Windows上打开IPA文件

Aidan Fitzpatrick

通过 Aidan Fitzpatrick

更新

看看我有资格写这篇文章

What is an IPA file?

IPA is the file format used for iOS apps that run on iPhones, iPads and iPod Touch devices. The name stands for "iOS app package". IPA files are equivalent to the ".app" app bundles that macOS uses. They use the common Zip format, despite their unusual file extension.

What is inside an IPA file?

A valid IPA file must always contain a top-level Payload folder, and -- if it is designed for distribution via the App Store -- it will also have some iTunesMetadata files. Here's an example of the IPA for iBooks 3.2, abbreviated to show the main structure:

$ unzip -l iBooks\ 3.2.ipa
Archive:  iBooks 3.2.ipa
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  06-18-2014 10:43   Payload/iBooks.app/
 22732944  11-13-2013 13:11   Payload/iBooks.app/iBooks
     3978  11-07-2013 17:43   Payload/iBooks.app/Info.plist
        0  06-18-2014 10:42   Payload/iBooks.app/_CodeSignature/
    70449  11-13-2013 13:11   Payload/iBooks.app/_CodeSignature/CodeResources
       8  11-07-2013 17:43   Payload/iBooks.app/PkgInfo
        0  06-18-2014 10:43   Payload/iBooks.app/SC_Info/
        0  06-18-2014 10:42   Payload/iBooks.app/Settings.bundle/
    25226  11-07-2013 17:44   iTunesArtwork
     1883  06-18-2014 10:43   iTunesMetadata.plist

In the example above, the file Payload/iBooks.app/iBooks is the application binary. iTunesArtwork is the app's icon, as shown in the App Store. And iTunesMetadata.plist is a dictionary of information with a collection of metadata about the app, with its name, author, release date, and so on.

Can I run an IPA on my computer?

It isn't possible to run an IPA file on a Windows PC, although it is possible to extract files on Windows. In some cases you can run an IPA on macOS, but most often not.

IPA files contain binaries that are specific to iOS. They may be built for 32-bit iOS devices (ie. iPhone 5c and below), or for the newer 64-bit devices released since. iOS devices use the ARM architecture, whereas your Windows PC or Mac likely uses x86. This means that without a specific embedded x86 binary, your computer won't be able to run an iOS app.

If an IPA has been built to debug on a Mac, it may contain an x86 binary. If so, it's likely it can be run using the iPhone Simulator included with Xcode on a Mac. The iPhone Simulator is bundled with Xcode, which can be installed for free from the App Store on all Macs.

How can I open an IPA file on Windows?

Double-clicking an IPA file on Windows leads to a window asking you to select the program you want to use to open the file. To extract the files from an IPA on Windows, you'll need to download DMG Extractor and install it. With DMG Extractor installed, you can double-click your IPA file and it will automatically be loaded in DMG Extractor.

要手动打开IPA文件,请按照下列步骤操作:

  1. 单击左上方菜单中的“打开”按钮或只需拖放文件即可。
  2. 从顶部菜单中,单击“提取”并选择提取所有文件。
  3. 选择提取的目标文件夹。
  4. 应成功提取您的IPA文件,您可以在弹出文件夹中找到它们。

或者,如果您对更改Windows配置和修改IPA文件感到满意,还有另一种方法:

  1. 打开Control PanelAppearance and PersonalisationFolder OptionsViewAdvanced ,确保未勾选“隐藏已知文件类型的扩展名”。
  2. 将文件重命名为ZIP扩展名
  3. 双击它并使用常规Zip查看器查看它

关于作者

Aidan Fitzpatrick founded Reincubate in 2008 after building the world's first iPhone data recovery tool, iPhone Backup Extractor. He's spoken at Google on entrepreneurship, and is a graduate of the Entrepreneurs' Organisation's Leadership Academy.

Reincubate在白金汉宫的首席执行官

上图是Reincubate团队在白金汉宫会见英国女王伊丽莎白二世的成员,因为我们在Apple技术方面的工作获得了英国最高商业奖。阅读我们在隐私,安全和保障方面的立场。


评论 (1)

Thank you so much for give this solotion!!

我们可以改进这篇文章吗?

我们喜欢听取用户的意见:为什么不给我们发电子邮件,发表评论或发推文 @reincubate?

我们能帮你什么吗?

我们的支持团队在这里提供帮助!

我们的办公时间为周一到周五,早 9 点到晚 5 点(协调世界时)。

我们力争在一个工作日内答复所有垂询。

保持联系 › 我们的支持团队非常棒

© 2008 - 2019 Reincubate Ltd. 保留所有权利。 Registered in England and Wales #5189175, VAT GB151788978. Reincubate® is a registered trademark. 隐私权和条款. 我们推荐多因素认证。 在伦敦建立了爱情。