react-native-keychain icon indicating copy to clipboard operation
react-native-keychain copied to clipboard

I got the error code -34018 when setGenericPassword witth accessGroup configured

Open williamtran1988 opened this issue 6 years ago • 2 comments

Hi All,

I am trying to share user info between 2 devices with the same apple id via the key chain.

I had enabled Key Chain access Group with $(AppIdentifierPrefix) on the Entitlement file. When I tried to setGenericPassword(username, password, {accessGroup: $(AppIdentifierPrefix)appbundle, service:appbundle

I received error code: -34018

BUT it is ok without accessGroup or service configured

Do you know how to resolve it?

williamtran1988 avatar Jul 22 '20 05:07 williamtran1988

In Xcode Add the App Groups Capability/Entitlement

JasonJotted avatar Oct 21 '20 17:10 JasonJotted

This issue is stale because it has been open for 1 year with no activity.

DorianMazur avatar Oct 04 '24 13:10 DorianMazur