Forums RapID RapID Knowledge base Register device (access group, Failed to create UniqueID in secure key chain) Reply To: Register device (access group, Failed to create UniqueID in secure key chain)

#69
RapID SupportRapID Support
Keymaster

Hi

From reviewing the log file you provided it appears that this is failing due to the ‘com.intercede.RapidSoftCertStore’ not being set up in your entitlements file.

2016-10-24 19:06:40:169 PrototipoCoin[517:6f33] Using access group:
‘6A79N4C77S.com.intercede.RapidSoftCertStore‘
2016-10-24 19:06:40:173 PrototipoCoin[517:6f33]
createGenericPasswordSecItemForID: Status -34018
2016-10-24 19:06:40:174 PrototipoCoin[517:6f33]
getUniqueIDForCredentialsStoreWithIdentifier: Failed to create UniqueID in secure key chain

In order to resolve this issue, you should add the following line

$(AppIdentifierPrefix)com.intercede.RapidSoftCertStore

Into your entitlements for the SDK to access the keychain under the access group.

Please see the MDBank example provided with the iOS SDK.

The MDBank.entitlements file has another access group that your application needs to setup

i.e. contents of MDBank.entitlements

< ?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
keychain-access-groups

$(AppIdentifierPrefix)com.intercede.MDBank
$(AppIdentifierPrefix)com.intercede.RapidSoftCertStore