Product Return SecItemCopyMatching -25300

I have the following code in my application.

    CFTypeRef result = nil;
    OSStatus userPresenceStatus = SecItemCopyMatching((__bridge CFDictionaryRef)query, &result);

      

SecItemCopyMatching returns -25300. This happens on some iPhone 6 devices, but not every device. What does this code mean? What could be the reason?

Thanks for your advice Frank

+3


source to share


1 answer


The error 25300

is equal errSecItemNotFound

, which means there is no such item in your keychain.

And you can find a list of potential result codes for Keychain Services here .



I am assuming the keychain item you are trying to map does not exist on that particular device.

+5


source







All Articles