views:

742

answers:

1

I'm trying to install my iphone app on my device for testing and whenever I try to build it I get:

The executable was signed with invalid entitlements

The entitlements specificed in your application's Code Signing Entitlements do not match those specified in your provisioning profile.

Now I've tried adding an Entitlements.plist file and both checking and unchecking get-task-allow. I've added the file name under Code Signing Entitlements under the project and then under the target, both, neither, etc. I've deleted and re-created every app id, provisioning profile, and certificate. Those all seem valid. This is not an ad-hoc distribution (it's development) and it's not a jailbroken phone.

I don't even understand where in the provisioning profile any Code Signing Entitlements are specified..?

A: 

I solved this issue by copying my project to a different spot, creating a new project and then re-copying the previous project files into the new project.