»
S
I
D
E
B
A
R
«
Error: The executable was signed with invalid entitlements
June 8th, 2009 by Anish Kumar

Sometimes when we are installing applications to our device through XCode, we might get a error message saying “The executable was signed with invalid entitlements“. This is most likely because the device is not included in the provision file. In tried with a device which i was sure to be included in the provision file and found that it works as expected. This error mostly occurs when we try to install applications on device which are not included in the provision file and is running iPhone OS 3.0. My iPod Touch whose UDID was not in the provision file was throwing this error where as my iPhone whose UDID is included in the provision file worked fine.

If you come across anyother reasons for getting this error message, do let me know.

About Me: Anish:
Mac OS X software development is my bread winner with over 6 years of experience. Expertise in Color Management, TWAIN Scanner drivers on Mac OS X, Photoshop Filter and Import Plugin development on Mac OS X, iPhone. As an hobby I love to work on PHP, Flex, AIR, Photoshop. Check the 'About' page for more.

14 Responses  
Jonathan writes:
June 18th, 2009 at 3:54 am

having this exact same issue. let me know if you figured out a solution. thx

Brent writes:
June 18th, 2009 at 11:40 am

Same problem here. I’ve double checked that the device is in the provision. I’ve tried just about everything with no luck.

ChrisP writes:
June 18th, 2009 at 6:11 pm

I have the same problem. Just updated to iPhone 3.0 and now cant do an adhoc distribution. Anyone got any ideas?

Anish Kumar writes:
June 18th, 2009 at 6:27 pm

A further note would be try to use any other device than the one which is throwing the error. Also I like to mention my iPhone is installed with iPhone OS 3.0 GM build rather than the beta’s. The iPod which was throwing the error had iPhone OS 3.0 Beta 5 build.

MatuX writes:
June 20th, 2009 at 4:41 am

Same problem with me. I can install into my iPhone (OS 3.0) using Debug and Release but not the Distribution.
One thing to note, the Distribution is the only one using Entitlements.plist. I’ve tried to remove it from the project and re-adding it and nothing happened.
I also checked it and there was nothing regarding IDs or Provisioning.

Please, any ideas would be greatly appreciated.

craq writes:
July 7th, 2009 at 7:25 am

In case people are still having this problem, the actual issue for me was i didn’t completely setup ad-hoc properly.

make sure to check your ‘target’ configuration settings and set the “Code Signing Entitlements” to the plist that you created for entitlements.

Will Hogben writes:
July 17th, 2009 at 6:00 pm

I ran into this just now with proper provisioning etc – I was building to the phone just fine and suddenly this issue.

Doing a Clean All Targets (from the Project menu) solved the issue for me.

    walker_dev writes:
    July 18th, 2009 at 3:03 pm

    +1

    “Clean All Targets” works perfect!
    Thanks

    Cali Dev writes:
    August 25th, 2009 at 6:44 am

    Build –> Clean all Targets

    Worked for me.

mark writes:
July 21st, 2009 at 1:03 pm
James Nachbar writes:
September 7th, 2009 at 9:49 am

I got this error until I checked the get-task-allow checkbox This was an application created in an earlier version of the iPhone OS.

However, when I created a new application with my current iPhone OS (3.0.1), everything worked with the get-task-allow checkbox unchecked, as recommended by Apple. BTW if I do check the get-task-allow checkbox, it still works.

So, the difference is that the original app, which gave me the error, was originally created in a previous version of XCode for an earlier version of the iPhone OS.

    Brad writes:
    September 16th, 2009 at 10:37 am

    James – that get-task-allow checkbox trick totally worked! I’ve been banging my head against this one for a long time. Thank you.

Sean Ghazaei writes:
September 25th, 2009 at 11:08 pm

I got this error and my “get task allow” was unchecked. Solution for Distribution was to install a new provisioning profile, Deleting and re-adding “Distribution” Configuration for my target and project. Deleting and adding Entitlement.plist to my project.

Rememeber for Debug Configuration (which I use my Developer Profile and not Distribution), you don’t need Entitlements file but for Distribution you need it. If you get the same error for Debug mode, make sure that “Code Signing Entitlements” value is blank.

Lior writes:
May 30th, 2010 at 1:55 pm

I am getting this error with the SDK 4 beta 4 when trying to install on my development device (the uuid for sure in the provisioning).
If I remove the reference to the Entitlements.plist from the settings it installs fine.
I do use APNS which is why originally I have the Entitlements.plist in the project.

Any clue will be greatly appreciated.

Thanks in advance!

Leave a Reply

Spam protection by WP Captcha-Free