Reputation: 593
Recently tried to get wireless distribution of Trigger.io apps going, as described here:
http://docs.trigger.io/en/v1.4/best_practice/wireless_distribution.html
Unfortunately, these apps (built with a provisioning profile dedicated as "Ad Hoc") mysteriously fail to install when distributed over the web. An investigation of the syslog output from the device shows that the get-task-allow entitlement is missing. A similar error appears when attempting to drop the resulting IPA files onto the Testflight mac app for uploading.
Can I provide a custom entitlements plist through some obscure command line flag? Or should the platform use the correct ones automatically when it detects an "enterprise" build?
Upvotes: 1
Views: 264
Reputation: 27492
The get-task-allow
entitlement is what controls if the app is debuggable. It should be set to false in ad-hoc and distribution provisioning profiles.
Have a look in the ad-hoc profile you used to package your app: you should see something like:
<key>get-task-allow</key>
<false/>
That should also make its way into the binary after it's built. Quick and dirty check: unzip the IPA in release/ios
and grep for get-task-allow
in the binary. I get:
<key>get-task-allow</key><false/>
Upvotes: 2