I got this error with Xcode 5 when I try to run the app on my device.
The executable was signed with invalid entitlement
It work
The solution for latest Xcode:
First you have to check what is enabled in your Member center for your specific AppID:

Then in your appropriate target in Xcode you have to enabled the same capabilities: In this case: App Group, Game Center, In-App Purchase. All of them have to be enabled in your target in Xcode.

However it doesn't matter for DEBUG mode:

it very matters for your RELEASE mode:

Note that Game Center and In-App Purchase are enabled by default in Member Center but are disabled in Xcode's target.