UICKeyChainStore icon indicating copy to clipboard operation
UICKeyChainStore copied to clipboard

-remove method(s) on OSX not working

Open skram opened this issue 10 years ago • 1 comments

Using any of the -remove methods on OSX seem to have /no/ effect.

Example code:

UICKeyChainStore *store = [UICKeyChainStore keychainStore];
[store removeAllItems];
[store synchronize];

After relaunching the application, key's still exist. Any ideas?..

OSX 10.9.5

skram avatar Sep 28 '14 00:09 skram

I thought I had the exact same issue on Mac OS X Yosemite. Turns out: if you create a keychain item from your app while running in Xcode, you will not be able to delete that item when you run your app standalone (with different code signing assets). That's the trap I fell into. No bug in UICKeyChainStore, fortunately.

rachidfinge avatar Oct 27 '14 00:10 rachidfinge