iOS App Today Widget App Group Entitlement with Keychain Sharing Entitlement, Error on Device like Simulator -25243 (errSecNoAccessForItem) -
have application has been using keychain access bit , working fine.
added today widget , added app group entitlement.
all seems good, getting
crash: couldn't add keychain item error domain=nsosstatuserrordomain code=-25243 "the operation couldn’t completed. (osstatus error -25243.)".
when trying use keychain.
this on device , not in simulator.
using device because of testing push notifications.
have tried cleaning, updating profiles, etc.
xcode 6.3.1 mini ipad ios 8.3
the error -25243
caused trying access keychain access group don't have permissions because might missing entitlements.plist file or provisioning profile.
so should following:
- check have entitlements file in project.
- try disabling/enabling entitlements.
- check app id has required permissions enabled , provisioning profile(s) use build schema when run app on devices have been regenerated new permissions/entitlements.
if ok after checking above steps, 2 cents provisioning profile use debug schema use build app run on device not contain required entitlements.
edit: 4. according op, 1 should check if value item com.apple.security.application-groups
in entitlements file matches.
Comments
Post a Comment