The executable gets signed with invalid entitlements in Xcode


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 worked fine with Xcode 4.x. Anyone knows how to get rid of the error?

enter image description here

This question is tagged with ios xcode code-signing provisioning-profile

~ Asked on 2013-10-25 04:42:30

The Best Answer is


I grappled with this issue for an hour, and finally found a fix. Turned out the Development Team was different in ProjectTarget and ProjectTests.

~ Answered on 2017-08-09 21:36:30


Restarting Xcode was what worked for me.

~ Answered on 2014-04-15 07:35:29

Most Viewed Questions: