简体   繁体   中英

Unable to store data in Keychain Xcode 8 GM (Swift 3)

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

Capabilities中 启用KeyChain共享以下载权利文件。现在,清洁并运行项目,数据将存储在Keychain中。

If you are using xCode 8.0 please do below :

Project Navigator -> Select Target -> Capabilities 

Enable KeyChain Sharing ON

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM