No commit activity in last 3 years
No release in over 3 years
MobileProvision is a convenient Mobile Provision wrapper written in Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.4

Runtime

 Project Readme

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