Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SFHFKeychainUtils "forgot" my user's passwords

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!

like image 685
Eran Avatar asked Oct 11 '11 09:10

Eran


1 Answers

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])

like image 76
Ben Mosher Avatar answered Nov 14 '22 12:11

Ben Mosher