I'm using the library KeychainAccess to save a token in the keychain. For some reason I'm getting an error when SecItemAdd
is called, presenting a system dialogue saying "Keychain not found" "A keychain cannot be found to store "token." and a button to "Reset to Defaults" which shows another alert "Are you sure you want to reset your keychain? This will delete all your saved passwords, keys, and certificates. You cannot undo this operation."
The same code is working for many others on my team, and others using this library. I can't find much on this error. Is there a way to fix without reseting my personal keychain?