When installing my app on my device I get the error:
The executable was signed with invalid entitlements
The entitlements specified in your application's Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016)
I have a valid "Entitlements.plist" file. If I remove the "Keychain" entitlement from the file it installs successfully.
My Keychain entitlement looks like:
<key>keychain-access-groups</key>
<array>
<string>com.MyCompany.MyApp</string>
</array>
My Bundle identifier and AppID is similar to:
com.MyCompany.MyApp
My AppID for the provisioning profile looks like this:
How do I enable Keychain withing the provisioning profile? Or what am I missing from the Entitlements file?