iOS - Credential.store with access control biometryAny/biometryCurrentSet is throwing Error -50

Storing credentials using

try Credential.store(token,
                     tags: ["displayName": "My User"],
                     security: [
                         .accessibility(.afterFirstUnlock),
                         .accessControl(.biometryAny),
                         .accessGroup("com.example.myApp.shared")
                     ])

and got the error cannotSave(code: -50) . I checked for biometric authentication and it is available.I tested with EmbeddedAuth sample app and see the same issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.