Method: FastlaneCore::ProvisioningProfile.parse
- Defined in:
- fastlane_core/lib/fastlane_core/provisioning_profile.rb
.parse(path, keychain_path = nil) ⇒ Hash
Returns The hash with the data of the provisioning profile.
26 27 28 29 30 31 32 33 34 35 |
# File 'fastlane_core/lib/fastlane_core/provisioning_profile.rb', line 26 def parse(path, keychain_path = nil) require 'plist' plist = Plist.parse_xml(decode(path, keychain_path)) if (plist || []).count > 5 plist else UI.crash!("Error parsing provisioning profile at path '#{path}'") end end |