If you’ve got a line like this:
1
|
|
But you don’t know what the OSStatus value means, and you’re devving on iPhone, here’s the answers:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
This was taken from
/Developer/Platform/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h
(so quite easy to find then… NOT!) because
SecCopyErrorMessageString
doesn’t work on iPhone OS. I hope this helps
you - if it does, let me know in the comments! To help you find this in
the search engines this might be triggered if you are using
SecItemAdd
, SecItemCopyMatching
or any of the other keychain
services in the iPhone SDK. You might be using Apple’s
[SecKeyWrapper sharedWrapper]
functions too… Anything security
related really. Or private key, public key, asymmetric key, signing,
blah blah blah.