-
Notifications
You must be signed in to change notification settings - Fork 955
not working on iOS 10 #149
Comments
You need to enable keychain sharing in the capabilities screen |
I have the same issues. |
Enabling keychain sharing (if you don't require it) is not a fix - especially for existing apps in the wild. I've found it only occurs on Simulator (XCode 8), devices continue to work with keychain access, will be waiting for a build update from Apple and splitting our test build *(run on simulator) to a different target for the time being. |
Yes, I have same issue with simulator. |
@daviyang35 @tommeier @adman44 Have you tried @Alexs1987's solution? |
To me @Alexs1987's solution worked. I'm using iOS 10 simulator. |
Make sure you enable keychain sharing in the capabilities screen as @Alexs1987 said. |
@soffes yup, it definitely works on iOS10 simulator again when keychain sharing is enabled, but the fix isn't to enable keychain sharing amongst apps when we're not sharing among apps (I would assume - unless the default has changed only on iOS10 simulator). Definitely a bug in iOS10 simulator specifically (all others fine, and on device with iOS10 is fine). Not sure if there is a workaround, or its wait until a fix is released, test only on device, or create a seperate test-only target that has keychain sharing enabled (until a fix is released). This issue is affecting frameworks too, so enabling keychain sharing capability isn't a possibility there. It also happens with the Apple sample code for Touch ID on |
hello,
just tested with Xcode 8 beta 6. it seems that SAMKeychain is not working. saving a key without error but can't get back the key...
Same code works fine on Xcode 7 iOS 9
thank you
The text was updated successfully, but these errors were encountered: