-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keychain returns nil #106
Comments
It seems too strange. Could you please share reproducible project for further investigation? |
@kishikawakatsumi Since the project is for a client of mine i cannot share any code. But the line i shared is how i access the keychainstore in both classes. |
I am still having problem with this on ios9. |
Hi guys, I met this problem by using SSKeychain(another keychain wrapper). Here it is the link soffes/SAMKeychain#75 of related github issue. |
@melote thanks melo, this problem happen to strike me from time to time and i havnt been able to find any solution to it. Tried almost everything and im starting to think that its related to iOS9. |
Hi @rashidasgari , I was the same and I can't find any reason or solution, I met this problem on ios 8.4.x recently as well. sometimes it returned nil, otherwise it's ok most of the time. |
@melote Its getting a bit frustrating. @kishikawakatsumi did you have any luck simulating this yet? |
This seems like a bug in keychain. Another bunch of people are having the exactly same problem with another wrapper: nicklockwood/FXKeychain#18 |
@kishikawakatsumi I just found out that this behavior only happens when the device is connected to my computer and im running the app directly from xcode. |
I have the same problem . I use the NSUserDefaults and UICKeyChainStore now。 |
Like @rashidasgari, I'm experiencing this problem only when running from xcode. I'm using v2.1.0. @kishikawakatsumi any luck reproducing on your end? |
@kishikawakatsumi I am facing the same issue as describe by everyone. Earlier it was just when i connect to Xcode, now its all the time. |
ios 9.x, swift 2.0, same problem with me :( |
Have anybody found solution for this issue? If yes please share here.. |
Adding the "Share keychain entitlement" worked for me. |
Hi, I got this weird problem, When i wanna retrieve from keychain it works fine, but just after that when i wanna do it again in another class i get nil.
this is how i call it:
keyChain = [UICKeyChainStore keyChainStoreWithService:@"myapp.Login"];
The text was updated successfully, but these errors were encountered: