Template

iOS Keychain Sharing: Difference between revisions

From Engineering Client Portal

(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...")
 
No edit summary
Line 6: Line 6:
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:Step1.png|1000px|center]]
[[File:iOS_key1.png|1000px|center]]
 


<br>
<br>
Line 12: Line 13:
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:Step3.png|1000px|center]]
[[File:key2.png|1000px|center]]
 


<br>
<br>

Revision as of 20:01, 16 December 2022

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