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
I had the same problem in XCode 5. This helped me anyway.
XCode > Preferences > Location tab > DerivedData
Press a little left arrow to open DerivedData in Finder. Move to trash folder of your project and rebuild.
Enabling Capabilities -> Inter-App Audio fixed this issue for me as well. I am also trying to send push notifications through parse
I'm using Push notification in my app and after development completed i was try to test push notification for release configuration. At that time i got this error.
I was using Production Provisioning Profile to run for release. So i was able to solve this error by using Adhoc Provisioning Profile.
I grappled with this issue for an hour, and finally found a fix. Turned out the Development Team was different in ProjectTarget and ProjectTests.
This could be due running wrong scheme as well.
Another thing to check - make sure you have the correct entities selected in both
Targets -> Your Target -> Build Settings -> Signing
and
Project -> Your Project -> Build Settings -> Code Signing Entity
I got this message when I had a full dev profile selected in one and a different (non-developer) Apple ID selected in the other, even with no entitlements requested in the app.