The executable was signed with invalid entitlements

前端 未结 19 2764
花落未央
花落未央 2020-11-28 04:09

I am having a problem with ad-hoc distribution on my iPhone. I have developed an application with SDK 3.0. I have a developer\'s license. I have added certificates and provi

19条回答
  •  天涯浪人
    2020-11-28 04:22

    If you once come into the situation, that checking "get-task-allow" seems to be required in order to deploy your debug (!) build to your phone, check this:

    a) Check the build setting. There should be no entry in "Code Signing Entitlements" for Debug b) Remove Entitlements.plist temporarily and build your debug version. If it complains about a missing Entitlements.plist, then you probably have the same situation, I had to fight today. c) Build again with Entitlements.plist and enable "get-task-allow". If it works now, you probably have the same problem:

    After messing around with new profiles I couldn't deploy my Debug build to the phone. AdHoc was fine. I checked a) - empty.. Hmm. I checked b) - complains. c) - worked...

    After all I examined project.pbjproj in an editor and - although the GUI did claim, that there was no entry for "Code Signing Entitlements" in fact there was one in the Debug section. I emptied it and was done.

提交回复
热议问题