Some users of our app are seeing crashes with the UUID library when there is a lock code on their phone. If the phone was locked the keychain system was returning error -25308.
The default access attribute for the kechain system used to be kSecAttrAccessibleAlways, but now it is iskSecAttrAccessibleWhenUnlocked; so we had to add a specific kSecAttrAccessible attribute on the keychain query to fix this problem.
Have seen a similar issue? If yes, did you follow a different approach? Thank you.
Some users of our app are seeing crashes with the UUID library when there is a lock code on their phone. If the phone was locked the keychain system was returning error -25308.
The default access attribute for the kechain system used to be kSecAttrAccessibleAlways, but now it is iskSecAttrAccessibleWhenUnlocked; so we had to add a specific kSecAttrAccessible attribute on the keychain query to fix this problem.
Have seen a similar issue? If yes, did you follow a different approach? Thank you.