Template

Template:iOS Keychain Sharing

From Engineering Client Portal

Revision as of 20:01, 16 December 2022 by NickParrucci (talk | contribs)

Keychain Sharing Capability


NielsenAppSDK requires Keychain Sharing capability must be enabled by application. Please perform following steps to achieve it:

1. Open Xcode and navigate to Target -> Signing & Capabilities -> + Capability -> Search & Add Keychain Sharing

iOS key1.png



2. Scroll down to Keychain Sharing section -> Keychain Groups -> click on + icon -> Xcode automatically adds Bundle ID.

key2.png



Note: It is mandatory to add Bundle ID inside Keychain Groups even if shared app groups are also available and configured so that NielsenAppSDK initializes properly else NielsenAppSDK will complaint with this error on console "Failed to initialize. Application should have \"Keychain Sharing\" capability in the Signing & Capabilities settings"

For more info please visit Apple Keychain Access