code-signing-entitlements
The executable was signed with invalid entitlements 0xe8008016 – Distribution certificate
Look into the test target, the team should be the same in both the test target and the main target.
iOS — look inside provisioning profile?
You can also do a text dump by typing security cms -D -i <prov> FWIW security is to Administer Keychains, keys, certificates and the Security framework. cms is a command within the security framework it stands for Cryptographic Message Syntax -D is for decoding -i means infile use infile as source of data (default: stdin)
The entitlements specified…profile. (0xE8008016). Error iOS 4.2
Just came across this issue myself, the problem was that I had a Entitlements.plist file in the project as part of an ad hoc distribution, and its get-task-allow (ie. ‘can be debugged’) property was set to NO – setting this to YES fixed the issue and allowed the app to run from Xcode4 on the … Read more