The reason why there’s no keychain access group capability in the App ID editor on the developer web site is that any explicit App ID automatically causes the keychain access group entitlement to be added to any profile created from that App ID. The entitlement looks like this:
Code Block % security cms -D -i ea8943a0-387a-4f57-9150-cb051c0e7751.mobileprovision |
… |
<dict> |
<key>Entitlements</key> |
<dict> |
… |
<key>keychain-access-groups</key> |
<array> |
<string>SKMME9E2Y8.*</string> |
<string>com.apple.token</string> |
</array> |
… |
</dict> |
… |
</dict> |
</plist> |
That is, it allows you to use any keychain access group starting with your App ID prefix (which is usually your Team ID) and the
com.apple.token special group (this is the string value of
kSecAttrAccessGroupToken).
The problem you’re having with SimpleTunnel is likely caused by it specifying
com.apple.managed.vpn.shared in its entitlements. Access to this keychain access group requires a special entitlement granted by Apple. See FAQ#9 in
Network Extension Framework Entitlements for more on that.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"