Skip to content

appaloosa-store/mobile_provision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobileProvision Build Status

MobileProvision is a simple Mobile Provision wrapper written in Ruby.

Installation

To install MobileProvision:

$ gem install mobile_provision

Or you can include this in your project's Gemfile:

gem 'mobile_provision'

Then execute:

$ bundle

Usage

mobile_provision_file = File.open(path_to_mobile_prov)
mobile_provision = MobileProvision.new(mobile_provision_file)
p mobile_provision.expiration_date
p mobile_provision.profile_type # => either ad-hoc, in house, apple store or in error
p mobile_provision.registered_udids if mobile_provision.profile_type == AD_HOC
mobile_provision_file.close

Extractible info

Currently, we can extract:

  • expiration_date
  • app_id
  • team_id
  • bundle_id
  • certificate
  • profile_type
  • registered_udids in case of an Ad-Hoc type
  • has_associated_domains

Contributing

  1. Fork it ( https://github.com/appaloosa-store/mobile_provision )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

2.0.0 -2017-09-06

  • Changed: bundle_id has been renamed app_id for the application identifier
  • Added: team_id is now available
  • Added: bundle_id is now available from app_id extraction
  • Added: has_associated_domains is available

About

MobileProvision is a simple Mobile Provision wrapper to ease info extraction.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages