开发者

Building an iPhone application reports 'An executable was signed with invalid entitlements'

开发者 https://www.devze.com 2022-12-27 12:16 出处:网络
I\'m trying to install my iPhone application on my device for testing and whenever I try to build it I get:

I'm trying to install my iPhone application 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 application id, provisioning profile, and certificate. Those all seem valid. This is not an ad-ho开发者_C百科c distribution (it's development) and it's not a jailbroken phone.

Where in the provisioning profile are any Code Signing Entitlements specified?


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.


I followed all the steps given in the Apple provisioning portal properly to make my application working on iPhone. I also rebooted my machine, and created a new project to test. It was not working for me. I was getting the same error every time.

Then I re-installed Xcode. Then it worked for me. I successfully ran my application on my iPhone...

0

精彩评论

暂无评论...
验证码 换一张
取 消