jrendel / SwiftKeychainWrapper

A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.
MIT License
1.59k stars 339 forks source link

SecItemCopyMatching Crash #168

Open bony06aug opened 3 years ago

bony06aug commented 3 years ago

just adding a line of code in my project it start crashing at SecItemCopyMatching line written in function data(for key) Having this line in console after crash note: This error message is displayed only once. If the error displayed above is due to conflicting search paths to Clang modules in different images of the debugged executable, this can slow down debugging of Swift code significantly, since a fresh Swift context has to be created every time a conflict is encountered.

Screenshot 2021-04-16 at 12 48 54 PM
bekzodrakhmatof commented 2 years ago

Hi @bony06aug you could have solved the issue but I also had this issue. In my case my this function was called in recursive around thousand times. I fixed by just calling once.