ios 如何从 iPhone 中提取从 App Store 下载的应用程序的 IPA,以便我可以查看 IPA 中的资产?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/41164643/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How Can I Extract an IPA from an iPhone for an App Downloaded from the App Store so that I can see the assets in the IPA?
提问by ohthepain
One of my favorite apps was removed from the app store, i guess because it hadn't been updated in too long. I have it on an old device (approx iOS 7.1.2) but did not download it onto my new phones.
我最喜欢的应用程序之一已从应用程序商店中删除,我想是因为它太久没有更新了。我在旧设备(大约 iOS 7.1.2)上安装了它,但没有将它下载到我的新手机上。
How do I get the IPA so that I can look at the app bundle and see the assets in the app?
如何获取 IPA 以便我可以查看应用程序包并查看应用程序中的资产?
回答by Sergey Belous
So, one of the possible solution to get into the assets of any app is using the iTunes and a little magic.
因此,进入任何应用程序资产的可能解决方案之一是使用 iTunes 和一点魔法。
In your case you can easy synchronize your device with iTunes to get all apps from your devices copied into iTunes Media Folder:
在您的情况下,您可以轻松地将您的设备与 iTunes 同步,以将您设备中的所有应用程序复制到 iTunes 媒体文件夹中:
And after that you can just unarchive an ipa file and navigate to Payload/AnAppName.app
and there should be all assets of the application.
之后,您可以解压缩 ipa 文件并导航到Payload/AnAppName.app
该应用程序的所有资产。
Sample with using your terminal:
使用终端的示例:
$ cd ~/Music/iTunes/iTunes\ Media/Mobile\ Applications/
$ tar -zxf Apple\ Store\ 401000.ipa
$ cd Payload/Apple\ Store.app/
And the result will be:
结果将是:
PS: instead of using bash for unarchiving, you can just change the extention of ipa-file from .ipa
to .zip
and after that double click on it.
PS:不是使用bash进行解档,你可以从改变的ipa文件的进一步扩展.ipa
到.zip
和它是双击后。