Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to parse the Info.plist file from an ipa

Tags:

parsing

ios

ipa

I want to write a program to get app details, e.g. app name, version, bundle identifier, from an ipa file. However this file is not a plain text file, it's encoded in some way and my program cannot parse it.

Is there any way to decode this file?

UPDATE

To clarify the question, I'm writing a python program to get app details from ipa files that I exported from Xcode.

like image 974
Henry H Miao Avatar asked Nov 21 '14 02:11

Henry H Miao


People also ask

How do I read Apple plist files?

plist - The primary property list for Mac OS X applications, located in the /​Contents/​ directory of an . APP bundle. To view this file, right-click an application file, select "Show Package Contents," and open the Contents folder.

How do you parse a plist in Python?

To write out and to parse a plist file, use the dump() and load() functions. To work with plist data in bytes objects, use dumps() and loads() . Values can be strings, integers, floats, booleans, tuples, lists, dictionaries (but only with string keys), bytes , bytearray or datetime.

What is info plist in iOS?

The Info. plist file contains critical information about the configuration of an iOS mobile app—such as iOS versions that are supported and device compatibility—which the operating system uses to interact with the app. This file is automatically created when the mobile app is compiled.


1 Answers

It's easy if you have a macbook.
Then follow this guideline: http://osxdaily.com/2011/04/07/extract-and-explore-an-ios-app-in-mac-os-x/

  1. Rename from file.ipa -> file.zip
  2. Unzip file.zip
  3. Go to Payload folder
  4. Right click Application file -> Show Package Contents
  5. See Info.plist
like image 165
hoangtu23 Avatar answered Oct 12 '22 07:10

hoangtu23