I am saving an login hash to the users keychain, however it seems it doesn't always work.
I have tested different libraries, the last one I use is Keychain-Swift.
I got it working on an iPhone 6+ with iOS 8.4.1 and an iPhone 6 with iOS 9.0.2. However, an other iPhone 6+ also with iOS 9.0.2 returns error -34018
on SecItemAdd
.
The only difference between the devices is that the device which doesn't work is my personal device and the other devices are my test devices.
I have check the code signing and that is correct. Added an entitlement as well with the Keychain Access Groups
.
What am I doing wrong?