iOS 17.4 Keychain SecItemCopyMatching return NotFound

SecItemAdd success, but app startup SecItemCopyMatching return NotFound

There’s not enough info here for me to give you any concrete suggestions. I will say that the SecItem API is quite tricky, and if you use it incorrectly you might see some very odd results. Have a read through:

If you need more help with this then I suggest that you:

  1. Try isolating the problem into a small test project, to make sure that this is a SecItem issue rather than some other issue in your app that’s confusing things.

  2. Post some details about the code that reproduces the problem. Specifically, show the properties you’re passing to SecItemAdd and the properties you’re passing to SecItemCopyMatching.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

iOS 17.4 Keychain SecItemCopyMatching return NotFound
 
 
Q