1

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.

Dee
  • 1,887
  • 19
  • 47

1 Answers1

0

As far as I know, you cannot share keychain between an app store app and an app you are currently developing. The entitlements are different for the apps signed with distribution profile (which is the case for an app store app) and those signed with a development profile.

  • I am planning to release next version of the same app to appstore. In this case do we have an option to access the data stored in keychainw – Dee Oct 15 '14 at 02:43
  • 1
    You would have the current version of the same app that is signed with developer profile - couldn't you use that? – gvsunil Oct 24 '14 at 02:27