2

As suggested in link : How containerURLForSecurityApplicationGroupIdentifier in NSFileManager works on iOS 7 I was able to get two application access common location /Library/Application%20Support/iPhone%20Simulator/7.0.3/Containers/somegroupIDhere/ on simulator.

However when I try to run the application on device(iPhone/iPad) Im getting following error enter image description here

Following is my entitlement file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>keychain-access-groups</key>
    <array>
        <string>teamIDHere.com.abc.pqr</string>
    </array>
    <key>Can be debugged</key>
    <true/>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.application-groups</key>
    <array>
        <string>teamIDHere.com.abc.pqr</string>
    </array>
</dict>
</plist>
Community
  • 1
  • 1
Sagrian
  • 1,048
  • 2
  • 11
  • 29
  • Did you enable Keychain-sharing when you created your profile from dev center? – Satheesh Jun 05 '14 at 12:53
  • Well I did not see any option to enable Keychain-Sharing for profile. It is available in capabilities but not in provisioning profile. – Sagrian Jun 05 '14 at 13:41

0 Answers0