Sign the application with the listed component to share data in a keychain access group and to use the AirWatch SDK features.

Enable or Disable Keychain Sharing

Enable keychain sharing entitlements to sign applications with a keychain access group.

Disable keychain sharing to not share data and to sign the application with another string.

Format of Entitlements

The format for keychain access group entitlements are \accessGroupName. The group names are defined in a list and multiple applications have the same AppIdentifierPrefix to share date.

The AppIdentifierPrefix string associates to the bundle ID of the application. For an application shares data, the applications in the group must share the same keychain access group. You create the bundle ID in the Apple Developer portal and you associate the bundle ID with a prefix or group.

Example

An application is signed with a specific string to share data when you enable or disable keychain sharing.

Swift_AppIdentifierPrefix

  • App name - AirWatchSDKTestApp
  • AppIdentifierPrefix - FZJQX8D5U8
  • BundleID - com.MyCompany.AirWatchSDKTestApp

Keychain sharing enabled

Application signed with the listed string
Yes

With group names as AirWatchSDKTestAppAccessGroup1 and AirWatchSDKTestAppAccessGroup2, the system signs the application with the prefix string.

  • FZJQX8D5U8.AirWatchSDKTestAppGroup1
  • FZJQX8D5U8.AirWatchSDKTestAppGroup2
No

The system signs the application with the bundle ID.

  • FZJQX8D5U8.com.MyCompany.AirWatchSDKTestApp

For more information on the SDK and keychain enablement, see Troubleshoot Keychain Enablement . For the procedure to enable keychain sharing for applications with the same prefix and keychain access groups, see Enable Keychain Sharing for SDK Applications.