Closed ztaylor54 closed 1 month ago
Great work! I am also currently seeing some unexpected behaviour on iOS around the .delete()
method. I wonder if your fix also needs to be added there too?
@paulking86 I think you're right here -- reading through recent comments in #709 shows that the issue is with more than just the read
function. I should have time to update this PR today.
@juliansteenbakker I also added the check to the delete
function, as it is also affected.
Someone mentioned that write
was also affected, but I am unsure how to reproduce so I'll leave that for you to triage.
I suspect this has to do with a change to keychain in recent iOS versions. The app store requirements recently changed to require iOS 17 SDK for all submissions, but I can't find anything in Apple's changelogs that points to an obvious culprit.
Looks good, LGTM!
@juliansteenbakker - Are we not looking for package version update for this fix?
I am still working on some other fixes for macOS and iOS, so the update will be later today
Fixes #709.
It looks like the
readAll
function was updated in a recent commit to explicitly returnnil
when a keychain key isn't found, but theread
function was not updated to match the new error checking scheme.I just added the same check for
errSecItemNotFound
and I am able to get my builds working on version 9.1.1.