iOS Keychain programming guide is very misleading. This post from five years ago is helpful. useyourloaf.com/blog/keychain-duplicate-item-when-adding-password.html