iOS SFHFKeychainUtils failing *sometimes* with error -25308 errSecInteractionNotAllowed
问题 I have this code getting back a password from the keychain for a given username NSString: NSError *error = nil; NSString *appName = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString*)kCFBundleNameKey]; NSString *pw = [SFHFKeychainUtils getPasswordForUsername:username andServiceName:appName error:&error]; if(error != nil) // log the error Most of the time for most users this all works fine - but for some specific users this call seems to fail (and carry on failing) where it