Xcode Code Signing – Executable Signed with Invalid Entitlements

code-signingiosprovisioning-profilexcode

I got this error with Xcode when I try to run the app on my device.

The executable was signed with invalid entitlement

It worked fine with old Xcode Anyone knows how to get rid of the error?

enter image description here

Best Answer

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

Related Question