The executable was signed with invalid entitlements

夙愿已清 提交于 2019-12-13 01:33:38

问题


This is the first time trying to test an app I created with LiveCode on an iPad.

I made sure that the IOS Provisioning Portal had the following set up as ad hoc:

certificates in Development and Distribution.
Ipad is registered
Apple ID is set up
provisioning in Development and Distribution.

When I try to get the app into Xcode the following error is displayed:

The executable was signed with invalid entitlements.

How do I get all of this into xCode so my LiveCode app can be tested in the iPad?


回答1:


Probably, you used a distribution profile instead of a developer's profile.

The creation of the developer certificate and provision profiles are described step by step on Apple's website. I strongly recommend that you take your time to read these steps and to make sure that you follow each step correctly.

Apple's provision portal also has an assistant that helps you to create a developer's provision profile. You need to use this developer's provision profile instead of an ad-hoc prodile if you want to install your app through XCode on your own device(s).

You can use the devloper's profile in LiveCode's Standalone Application Settings window.




回答2:


This is a ENTITLEMENTS error, not a code sign issue. Entitlements have to do with iCloud. In Xcode 4 this was done on the Summary page at the bottom. In Xcode 5 it is on a new page called capabilities at the top. It will be lit up with a FIX this Issue Flag. Simply select your Devel profile and you're good to go. It does require an AppID set-up with iCloud Checked. If you're not using iCloud simple delete whatever is in the Entitlements field in the build Settings.

Although I see the "read the doc" answers often. a.) Most of us do try to read the doc and b.) It rarely contains and useful granular detail needed to code or troubleshoot anything. Cheers




回答3:


Entitlements are also used with the Game Center, Passbook, In-App Purchases and Maps. All are setup in the Target Tab called Capabilities.



来源:https://stackoverflow.com/questions/14083435/the-executable-was-signed-with-invalid-entitlements

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