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
No solution worked for me until I've checked and set app Tests target to same provisioning profile as main app. Or if you are using automatic singing make sure you have same team selected in Tests target.