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
In my case APNS certificate is expired, remove the expired certificate and regenerate the provisioning profile fixes the issue.