The executable was signed with invalid entitlements (iPhone build)

你。 提交于 2019-12-01 18:04:28

This is just a shot in the dark, but maybe try deleting all of your provisioning profiles from Xcode and all of your devices, then download them again from the provisioning portal and reinstall them on everything? I ended up doing that anyway when I upgraded.

In my case I had "code signing" line in my targets and project build settings. Despite it was empty it was still giving me this error, until I deleted it completely in targets and partially in project. So that is what I did:

In Xcode 4.2 I went to my PROJECT\Build Settings found that line "code signing", clicked on it and in Entitlements deleted all lines (they were empty but still there!), so Entitlements disappeared.

I put in "code signing identity":don't code sign

"debug":don't code sign

"Any iOS SDK": choose your provisions here, I used automatic, worked fine

"release":don't code sign

"Any iOS SDK": same as above

Then I went to TARGETS\Build Settings, found the line "code signing" and deleted everything under it so it disappeared from targets.

Now I could build onto the device, not only in simulator. Hope it helps somebody. B

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!