Start using iCloud Keychain instead of a local keychain issue

I used a keychain. And now I'm trying to sync it using iCloud keychain.

I got an exception

result = SecItemUpdate((__bridge CFDictionaryRef)updateItem, (__bridge CFDictionaryRef)tempCheck); NSAssert( result == noErr, @"Couldn't update the Keychain Item." ); 

after adding

 [genericPasswordQuery setObject:(__bridge id)kCFBooleanTrue forKey:(__bridge id)kSecAttrSynchronizable]; 

to my keychainWrapper initialization method.

Questions:

  • What am I missing?

  • How can I check if iCloud Keychain is available?

+7
ios keychain
source share

No one has answered this question yet.

See related questions:

1665
How can I make UITextField move up when there is a keyboard - when editing starts?
406
How to convert SSH keys created using PuTTYgen (Windows) to key pairs used by ssh-agent and Keychain (Linux)
216
Removing keychain items when uninstalling an application
24
Keychain: item specified as errSecItemNotFound, but gets errSecDuplicateItem when added
twenty
Adding items and request for iOS keychain with fast
7
Xcode will not allow creating for a device after abandoning Codesign to access Keychain
3
Do I have to save passwords in shared web credentials AND (local) keychain
2
Saving a check in iCloud using CloudKit in iOS
2
Phonegap - images will not be displayed after updating the package when iCloud is turned on
0
Failed to add keychain item. Error - 25299 after changing identifier using KeychainItemWrapper?

All Articles