Skip to content

Conversation

@viktorbenei
Copy link
Contributor

Instead of reading it from Entitlements (com.apple.developer.team-identifier), read it from the main TeamIdentifier array property.

Why: we received a report where a provisioning profile had an array defined for com.apple.developer.team-identifier instead of a string. See: #28

The only reliable way to read the Team ID from the Provisioning Profile seems to be the TeamIdentifier property in the Prov Profile, which is always a single item string array.

Instead of reading it from `Entitlements` (`com.apple.developer.team-identifier`), read it from the main `TeamIdentifier` array

Why: we received a report where a provisioning profile had an array defined for `com.apple.developer.team-identifier` instead of a string.
@viktorbenei viktorbenei merged commit f555092 into master Dec 6, 2016
@viktorbenei viktorbenei deleted the feature/pp-team-id-parse-fix branch December 6, 2016 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants