UICKeyChainStore
UICKeyChainStore copied to clipboard
Can't save data in iOS 10 simulator. (Xcode 8.0)
Can't retrieve data in keychain using iOS 10 simulator. It works fine when running on an actual device.
I'm having the same issue.
Apple changed how the keychain is accessed in ios10. We are still trying to pinpoint the correct guidance here, but the workaround is to enable the keychain sharing entitlement in capabilities.
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html
Thanks for this answer behrooziAWS. this should be put in app "how to" description section of this git. This is now the default behavior going iOS 10 or higher.