I have 2 applications. One is in appstore and the other one I am working currently. Using my first app I have saved a string in keychain and now using the second app I am trying to retrieve the same value. But every time the below condition fails. So I am unable to retrieve the saved value.
if (! SecItemCopyMatching((CFDictionaryRef)tempQuery, (CFTypeRef *)&outDictionary) == noErr)
Please let me know where am I doing wrong.