iOS Keychain Sharing: Difference between revisions
From Engineering Client Portal
NickParrucci (talk | contribs) (Created page with "== Keychain Sharing Capability== <br> NielsenAppSDK requires Keychain Sharing capability must be enabled by application. Please perform following steps to achieve it: 1. Ope...") |
NickParrucci (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Keychain Sharing Capability== | == Keychain Sharing Capability (AppSDK 9.0.0.0 and below)== | ||
<br> | |||
'''NOTE:''' Keychain sharing is only needed for Nielsen AppSDK version 9.0.0.0 and below. Starting from AppSDK 9.1.0.0, persistent storage is handled with NSUserDefaults. If you have AppSDK 9.1.0.0 or higher, you can ignore this section. | |||
<br> | |||
<br> | <br> | ||
Line 6: | Line 9: | ||
1. Open Xcode and navigate to Target -> Signing & Capabilities -> + Capability -> Search & Add Keychain Sharing | 1. Open Xcode and navigate to Target -> Signing & Capabilities -> + Capability -> Search & Add Keychain Sharing | ||
<br> | <br> | ||
[[File: | [[File:iOS_key1.png|1000px|center]] | ||
<br> | <br> | ||
Line 12: | Line 16: | ||
2. Scroll down to Keychain Sharing section -> Keychain Groups -> click on + icon -> Xcode automatically adds Bundle ID. | 2. Scroll down to Keychain Sharing section -> Keychain Groups -> click on + icon -> Xcode automatically adds Bundle ID. | ||
<br> | <br> | ||
[[File: | [[File:key2.png|1000px|center]] | ||
<br> | <br> |
Latest revision as of 20:54, 30 March 2023
Keychain Sharing Capability (AppSDK 9.0.0.0 and below)
NOTE: Keychain sharing is only needed for Nielsen AppSDK version 9.0.0.0 and below. Starting from AppSDK 9.1.0.0, persistent storage is handled with NSUserDefaults. If you have AppSDK 9.1.0.0 or higher, you can ignore this section.
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
2. Scroll down to Keychain Sharing section -> Keychain Groups -> click on + icon -> Xcode automatically adds Bundle ID.
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