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.
The executable was signed with invalid entitlements
If you come across anyother reasons for getting this error message, do let me know.
having this exact same issue. let me know if you figured out a solution. thx
Same problem here. I’ve double checked that the device is in the provision. I’ve tried just about everything with no luck.
I have the same problem. Just updated to iPhone 3.0 and now cant do an adhoc distribution. Anyone got any ideas?
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.
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.
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.
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.
+1
“Clean All Targets” works perfect! Thanks
Build –> Clean all Targets
Worked for me.
Have a look at http://www.bigspaceship.com/blog/labs/iphone-101-understanding-distribution-pt-ii-of-ii/
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.
James – that get-task-allow checkbox trick totally worked! I’ve been banging my head against this one for a long time. Thank you.
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.
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!
Name (required)
Mail (will not be published) (required)
Website
Please note: JavaScript is required to post comments. Spam protection by WP Captcha-Free