provise icon indicating copy to clipboard operation
provise copied to clipboard

automation around entitlements and change of team id and bundle id

Open astletron opened this issue 9 years ago • 0 comments

This is a feature request, not a bug.

I'm thinking provise could be more useful with some changes around how entitlements are handled

Specifically:

  • default behavior should be to preserve entitlements from old .ipa to new. This can be achieved with the --preserve-metadata=entitlements parameter to codesign.
  • in addition to a new bundle id, user should be able to specify a new team identifier and provise should change appropriate values in the entitlements to match. This would involve dumping the current entitlements (codesign -d --entitlements :tmp-entitlements.plist), doing a search and replace on team identifier and/or bundle id, and then specifying use of the new entitlements during signing (codesign -f --entitlements entitlements.xml).

I have validated that these process work manually. Am willing to create a pull request if you reckon this is a good idea.

astletron avatar Mar 26 '15 13:03 astletron