What is the actual ASN.1 structure of the DER encoded entitlements used for iOS and MacOS applications?
You can see a sample output at 'The Future is DER', but is there any official documentation or definition?
So at the moment we have no choice but to read the entitlements ourselves.
So, yeah, DTS doesn’t support that.
Why are the Entitlement APIs from the Security Framework not available for iOS?
These SecTask
APIs were originally intended to be used in IPC scenarios, and iOS doesn’t really support IPC [1]. However, I agree that there are plenty of other situations where being able to access your own entitlements would be helpful, and I encourage you to file an enhancement request for the APIs you need.
Please post your bug number, just for the record.
In the meantime, if you’re written a keychain wrapper the best option is to have your client supply the keychain access group info you need. That gets you out of this business entirely.
Oh, and apropos this:
the default application identifier (team ID + bundle ID)
The App ID prefix is not always the Team ID. Older projects might use a unique App ID prefix. If you’re writing a general purpose wrapper, make sure to take that into account.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Many of the APIs are present and functionality, but either the iOS sandbox makes them irrelevant or their use cases are extremely restricted.