UICKeyChainStore icon indicating copy to clipboard operation
UICKeyChainStore copied to clipboard

Can't save data in iOS 10 simulator. (Xcode 8.0)

Open amcuserguy opened this issue 8 years ago • 3 comments

Can't retrieve data in keychain using iOS 10 simulator. It works fine when running on an actual device.

amcuserguy avatar Sep 28 '16 05:09 amcuserguy

I'm having the same issue.

thefactor avatar Sep 29 '16 03:09 thefactor

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

behrooziAWS avatar Sep 29 '16 20:09 behrooziAWS

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.

sambudda avatar Jan 06 '17 00:01 sambudda