Skip to content

matiassingers/ipa-metadata

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ipa-metadata Build Status Dependency Status Coverage Status

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

Note: the severe lack of naming convention in the properties, I'm preserving their original naming - see #7.

Note: the parsing of entitlements only works on OS X because of codesign, provisioning profiles will still be parsed correctly.

Install

$ npm install --save ipa-metadata

Usage

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

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-metadata
$ 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

About

extract metadata and provisioning information about an .ipa file

Resources

License

Stars

Watchers

Forks

Packages

No packages published