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
Enable KeyChain sharing in Capabilities which downloads an entitlement files.Clean and run the project now data gets stored in Keychain.
来源:https://stackoverflow.com/questions/39532818/unable-to-store-data-in-keychain-xcode-8-gm-swift-3