kishikawakatsumi / KeychainAccess

Simple Swift wrapper for Keychain that works on iOS, watchOS, tvOS and macOS.
MIT License
7.92k stars 785 forks source link

Purple Error in Xcode 14.3 (14E222b) #565

Open owenzhao opened 1 year ago

owenzhao commented 1 year ago

SourcePackages/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:739 This method should not be called on the main thread as it may lead to UI unresponsiveness.

截屏2023-05-06 07 32 50

Xcode 14.3 (14E222b) macOS Ventura 13.3.1 (a) (22E772610a) KeychainAccess 4.2.2

alexruden commented 1 year ago

The same. But for deletion. I call set item = nil public func remove(_ key: String, ignoringAttributeSynchronizable: Bool = true) throws { throws this error. Yes, I do it right in ibAction method, but question - we should to don't do it? Also (maybe it connected with it - when I try to save empty string - it doesn't work. Old value still)