ios 如何获取 .ipa 文件路径

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/29742570/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-31 05:42:42  来源:igfitidea点击:

How to get .ipa file path

iosobjective-cipa

提问by simbesi.com

My application contains sensitive data so I want to generate hash key for .ipa file, is it possible to do? how to get .ipa file path to generate key.

我的应用程序包含敏感数据,所以我想为 .ipa 文件生成哈希键,可以这样做吗?如何获取 .ipa 文件路径以生成密钥。

I already did it few files for inside .app file.

我已经为 .app 文件内部做了几个文件。

回答by Neenu

In iPhone

在 iPhone 中

If your using install0us the location is

如果您使用 install0us 位置是

/var/Mobile/Library/Downloads/

/var/Mobile/Library/Downloads/

If your transferring purchases via iTunes, no ipa files get copied onto the iPhone, they are installed into **/Applications/ or /var/mobile/Library/Applications in the form of "Application.app"**.

如果您通过 iTunes 传输购买,则不会将 ipa 文件复制到 iPhone 上,它们会安装到**/Applications/ or /var/mobile/Library/Applications in the form of "Application.app"**.

also, the .ipa Files Location in Mac OS

此外,Mac OS 中的 .ipa 文件位置

1- Launch iTunes
2- Under Library menu, click on [Apps] menu.
3- The iTunes will display all installed app
4- Right-click on one of those apps
5- Then click “Show in Finder” option
Alternative way to do that is, by simply open the directory of .ipa files stored by using this path:
User/Music/iTunes/Mobile Applications

回答by Yuyutsu

The .ipa Files Location in Windows

Windows 中的 .ipa 文件位置

 - Launch iTunes
 - Under Library menu, click on [Apps] menu.
 - The iTunes will display all installed app
 - Right-click on one of those apps
 - Then click “Show in Windows Explorer” option
 - A Windows Explorer will be opened navigating directly to the path of .ipa files.

Alternatively,

或者,

 you can simply open a Windows Explorer and type this path in the address bar: C:\Users\User\Music\iTunes\iTunes Media\Mobile Applications`

The .ipa Files Location in Mac OS

Mac OS 中的 .ipa 文件位置

 -  Launch iTunes
 -  Under Library menu, click on [Apps] menu.
 -  The iTunes will display all installed app
 -  Right-click on one of those apps
 -  Then click “Show in Finder” option

Alternative

选择

way to do that is, by simply open the directory of .ipa files stored by using this path: User/Music/iTunes/Mobile Applications

Reference

参考