iOS "Invalid Entitlements"

panagiotis merakos merakosp at gmail.com
Sat Apr 8 09:42:00 EDT 2017


Hmm ok. Then you could probably check which entitlements are included in
the standalone, and see if there is any that is not included in the
provisioning profile. To do that:

1. Use the codesign tool to check the entitlements on the .app bundle:
Type in a terminal:

codesign -d --entitlements :- /path/to/yourApp.app

2. Use the security tool to check the entitlements of the app's embedded
provisioning profile:
Type in a terminal:

security cms -D -i /path/to/yourApp.app/embedded.mobileprovision

- Then see if there is an entitlement that is present in (1) but not in (2).

Best,
Panos
--

On Sat, Apr 8, 2017 at 5:31 AM, Sannyasin Brahmanathaswami via use-livecode
<use-livecode at lists.runrev.com> wrote:

> Hmm none of these are true, but we still get invalid entitlements.
>
> 1) this is an adhoc distribution profile for use with registered UDIDs ;
> "Beta Version" is unchecked in the SA settings
> 2) mergHK inclusion does not even appear in the inclusions options (8.1.3)
> 3) "In App Purchase" is not enabled in the profile
> 4) "In App Purchase" does not even appear anywhere in the Standalone
> Settings for iOS I may be missing something but I sure don't see it.
>   ergo I can't have it checked on, if it is not there to check…
> 5) push notifications is not enabled on profile and not checked in the iOS
> SA settings
>
> Here is what I have that worked before…
>
> http://wiki.hindu.org/uploads/iOS-SA-Settings-Apr17.jpg
>
> I even tried with all these set to n/a  Location services, microphone and
> WiFi
>
> and *still* get the "Invalid Entitlements" msg
>
> BR
>
>
> On 4/7/17, 6:16 AM, "use-livecode on behalf of panagiotis merakos via
> use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of
> use-livecode at lists.runrev.com> wrote:
>
>     The cases where I had seen this "Invalid Entitlements" error are the
>     following:
>
>     1. "Beta-version" is checked in iOS standalone settings BUT the
>     provisioning profile is a development one (and not a distribution one)
>
>     2. The mergHK inclusion is checked in Inclusions, but the provisioning
>     profile I use does not include entitlements for HealthKit.
>
>     3. The "In App Purchase" is checked in iOS standalone settings BUT the
>     provisioning profile I used does not include entitlements for In App
>     Purchase.
>
>     4. The "Push Notifications" is checked in iOS standalone settings BUT
> the
>     provisioning profile I used does not include entitlements for Push
>     Notification.
>
>     Best,
>     Panos
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list