SFHFKeychainUtils "forgot" my user's passwords

946 Views Asked by At

I'm using SFHFKeychainUtils for a while now. On my last update to the AppStore, it suddenly "forgot" my user's passwords. Meaning, when calling getPasswordForUsername for the same username and service, it doesn't return a result now. I don't print the error variable, so I don't know if it returns anything, I just know it doesn't return the password / any string. I've tried reproducing the problem on my device / other debug devices by installing the old version and then installing the new version over it, but it didn't happen! worked just fine. I know it's a little vague, but I really don't understand where it's coming from so I can't provide more info. Anyone has any idea what could cause this? Do you have any best practices in this regard that I might be missing? Or just a tip on how I can debug this problem?

Thanks a lot!

1

There are 1 best solutions below

0
On BEST ANSWER

You may have changed your access group in your entitlements:

Entitlements view in Xcode 4

(note: the blurred out part is your Bundle Seed ID [or should be, anyway])