1

In my project I need to save some data in Keychain, hence I'm using some open-source, but the data is not getting stored in keychain. I have tried many open source, in every open source the attempt to store data in keychain failed.

Used Keychain open sources:

KeyClip - https://github.com/s-aska/KeyClip

Keychain - https://github.com/marketplacer/keychain-swift

keychain access - https://github.com/kishikawakatsumi/KeychainAccess

Shailesh Chandavar
  • 1,614
  • 14
  • 20

2 Answers2

6

Enable KeyChain sharing in Capabilities which downloads an entitlement files.Clean and run the project now data gets stored in Keychain.

Shailesh Chandavar
  • 1,614
  • 14
  • 20
2

If you are using xCode 8.0 please do below :

Project Navigator -> Select Target -> Capabilities 

Enable KeyChain Sharing ON

enter image description here

Dheeraj D
  • 4,386
  • 4
  • 20
  • 34