Skip to content

extract metadata and provisioning information about an .ipa file

License

Notifications You must be signed in to change notification settings

lvkss2012/ipa-metadata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#this is forked from ipa-metadata,git url:https://github.com/matiassingers/ipa-metadata When I use ipa-metadata,I got err "openssl x509",but it give me what I want in data,like the follwing code show:

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

I test this on Windows 10. I want to ignore the verification of ipa.So I fork the respository and add code to ignore this this,and change it to promise style. Thanks to Matias Singers for the ipa-metadata source code

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

Languages

  • JavaScript 100.0%