Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to specify entitlements and allow script to autodetect them
For non-trivial project setup with more than 1 target, there's also more than 1 entitlements file For example, MyAppProd.entitlements and MyAppTest.Entitlements The default implementation of will find _first_ matchint file, which is not the one really needed In my case I had it picking up Test entitlements while I was resigning Prod target. Second change is related to passing argumetns to resigh.sh script We should not use find_entitlements at all The script has support for reading entitlements from provisioning profile and usign them As a matter a fact, that's quite a common setup, developers would put keychain group, APN and some other things, but not the :application-identifier or :com.apple.developer.team-identifier Those are normally missing in Code Signign Entitlements, but present in provisioning profile It's a common thing and is covered here: https://developer.apple.com/library/ios/technotes/tn2319/_index.html
- Loading branch information