2015-04-20 19 views
6

Ứng dụng của tôi chứa dữ liệu nhạy cảm vì vậy tôi muốn tạo khóa băm cho tệp .ipa, có thể thực hiện không? làm thế nào để có được đường dẫn tập tin .ipa để tạo ra chìa khóa.Cách lấy đường dẫn tệp .ipa

Tôi đã làm nó vài file cho file .app bên trong.

+2

tôi cảm thấy câu hỏi của bạn một chút vô nghĩa ... bạn nên mã hóa dữ liệu của bạn _sensitive_ lập trình nếu bạn sợ ai đó có un-athorised quyền truy cập vào những , bỏ qua ứng dụng. – holex

+0

@holex, có quyền của bạn. Nhưng tôi là ứng dụng ngân hàng nên chúng tôi muốn có cách tiếp cận bảo mật theo lớp. Tôi đã làm cho bên trong các tập tin .app gì và tất cả tôi muốn. Tại thời điểm này bất kỳ trợ giúp? –

Trả lời

6

Trong iPhone

Nếu bạn sử dụng install0us vị trí là

/var/Mobile/Library/Downloads/

Nếu mua chuyển của bạn thông qua iTunes, không có tệp ipa nào được sao chép vào iPhone, chúng được cài đặt vào **/Applications/ or /var/mobile/Library/Applications in the form of "Application.app"**.

cũng có, các tập tin .ipa Vị trí trong Mac OS

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 
+0

như của bây giờ tôi đã làm nó như thế này cho tập tin cung cấp: NSString * certificatePath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: @ "embedded.mobileprovision"]; –

+0

bạn sẽ nhận được đường dẫn ứng dụng từ NSString * certificatePath = [[NSBundle mainBundle] excutablePath]; – Neenu

+0

Cách tiếp cận này có thể không hoạt động ngay bây giờ bắt đầu từ iTunes 12.7.0. Thay vào đó, bạn có thể sử dụng [Cấu hình Apple] (https://itunes.apple.com/us/app/apple-configurator-2/id1037126344?mt=12). Bạn phải cắm điện thoại vào máy Mac bằng cáp USB, sau đó điều hướng đến đường dẫn này: ** '~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/'** – MrDEV

3

Các .ipa tập tin trong Windows Location

- 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. 

Ngoài ra,

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

Các .ipa tập tin Vị trí trong Mac OS

- 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

Các vấn đề liên quan