MobileProvision
¶ ↑
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¶ ↑
-
Fork it ( github.com/appaloosa-store/mobile_provision )
-
Create your feature branch (git checkout -b my-new-feature)
-
Commit your changes (git commit -am 'Add some feature')
-
Push to the branch (git push origin my-new-feature)
-
Create a new Pull Request
2.0.0 -2017-09-06¶ ↑
-
Changed:
bundle_id
has been renamedapp_id
for the application identifier -
Added:
team_id
is now available -
Added:
bundle_id
is now available fromapp_id
extraction -
Added:
has_associated_domains
is available