Apple provisioning profile parser utility.
Fastlane required.
Gem can parse following properties:
- profile identity
- team ID
- profile name
- bundle ID
- profile UUID
Specify gem in your gemfile:
gem "provisioning_profile_parser", git:"https://github.com/RMinibaev/provision_profile_parser.git"First, mark gem as required for easier debugging:
fastlane_require "provisioning_profile_parser"Then, create a parser object, passing a path to MyProvProfile.mobileprovision :
prov_prof_path = "./examplepath/MyProvProfile.mobileprovision"
parser = Parser.new(prov_prof_path)Finally, you can use parser methods to access info that you need:
parser.profile_identity#=> "iPhone Developer: John Doe (FOO1337BAR)"
parser.profile_team#=> "FOO1337BAR"
parser.profile_name#=> "MyAppProvProfile_19700101"
parser.profile_uuid#=> "ed8ed34e-0c0a-4c45-9f58-ed77a5b89e3a"
parser.bundle_id#=> "com.MyCompany.Distributuion.MyProject.MyApp"