1.4.2 • Published 5 years ago

ipa-metadata2 v1.4.2

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

ipa-metadata2

Fork from https://github.com/matiassingers/ipa-metadata (The origin seems no longer updated.)

extract metadata and provisioning information about an .ipa file

Inspired by the ipa info in shenzhen, but I wanted more general metadata information about the .ipa. I created a quick Bash script, but thought I could do a better job with a small NodeJS module.

The CLI is very useful for quickly checking the entitlements of an .ipa file (--verify), and two types will be returned from the module:

See "Checking the Entitlements of an .ipa file" for more information

Install

$ npm install --save ipa-metadata2

Usage

var ipaMetadata = require('ipa-metadata2');

ipaMetadata('Facebook.ipa', function(error, data){
  console.log(data);

  // { metadata:
  //    { CFBundleName: 'Facebook',
  //      ... },
  //   provisioning:
  //    { TeamName: 'Facebook Inc.',
  //      ... } },
  //   entitlements:
  //    { application-identifier: '1234abcd.com.facebook.facebook.',
  //      ... } }
});

CLI

$ npm install --global ipa-metadata2
$ ipa --help

  Example
    ipa Facebook.ipa

    ipa Facebook.ipa --verbose

    ipa Facebook.ipa --verify
    (verifies entitlements between `.app` bundle and `embedded.mobileprovision`)

Related

License

MIT © Matias Singers