Halo, I want to ask, i have an application. I get keychain value from i click apps launch but this case after i launch my apps keychain failed retrieve and my apps can't access this value after that the value change to nil. How to solve this problem ?
You specifically called out iOS 17. Does that mean that this previously worked on iOS 16? Or is working on iOS 18.0rc? Or just that you’re only testing it on iOS 17?
Regardless, I’m not aware of any wide-ranging keychain problems on recent iOS releases. However, the SecItem API is notoriously tricky to use correctly. I have a bunch of general hints and tips in:
I Used SDK Valet to store keychain.
I can’t help you with this third-party wrapper. However, if you can dig into the wrapper to work out which SecItem call is failing, I’d be happy to help you with that.
Oh, and while we’re talking about wrappers, that’s something I specifically address in the Think Before Wrapping section of SecItem: Pitfalls and Best Practices.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"