TestFlight Rejecting Build "get-task-allow" error

613 views
Skip to first unread message

Tobias

unread,
May 3, 2012, 12:31:03 PM5/3/12
to cocoahead...@googlegroups.com
So I'm using testflightapp to distribute an ad-hoc build.

But I keep getting this message: 'Invalid Profile: distribution build entitlements must have get-task-allow set to false.'

I don't have an entitlements file for my App, so XCode automatically produces one and includes it in the build.
I unzip the App.ipa and open up the embedded.mobileprovision file and look at the entitlement dictionary.

It looks like this:
<key>Entitlements</key>
<dict>
<key>application-identifier</key>
<string>E9PBH9V8TB.*</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>E9PBH9V8TB.*</string>
</array>
</dict>

Anyone else experienced this before?
I don't understand why I'm getting this error.

Jamie Pinkham

unread,
May 3, 2012, 12:35:50 PM5/3/12
to cocoahead...@googlegroups.com
Make sure you built the binary with the same signing identity they used when you exported the ipa. It's not the only way to get that error, but it's common enough.

If all else fails, switch to hockey app: http://www.hockeyapp.net

- Jamie

--
You received this message because you are subscribed to the Google Groups "CocoaHeads Richmond" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocoaheads-richmond/-/oXvfowWjnu4J.
To post to this group, send email to cocoahead...@googlegroups.com.
To unsubscribe from this group, send email to cocoaheads-rich...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocoaheads-richmond?hl=en.

Anthony Zatelli

unread,
May 3, 2012, 12:36:01 PM5/3/12
to cocoahead...@googlegroups.com
I've hit this before.

If I remember correctly, you need to create the entitlements.plist file yourself and edit it to set the get-task-allow to false (true by default).

Then in the code signing setting for your ad-hoc build, set it to use the entitlements.plist file you created.

--

Tobias

unread,
May 3, 2012, 1:01:40 PM5/3/12
to cocoahead...@googlegroups.com
Hey Anthony and Jamie,

Thanks for the responses.
Jamie you were correct. Turns out it was a code-signing problem. Had a mismatch between the my build-configuration identify and the identity I selected when saving the archive for distribution. The error message just threw me off. Thought I was going crazy, with false not being false.

I had created a TestFlight specific build configurations to easily turn off and on testflight analytics, and didn't double check the code-signing identity.

-Tobias
To post to this group, send email to cocoaheads-richmond@googlegroups.com.
To unsubscribe from this group, send email to cocoaheads-richmond+unsub...@googlegroups.com.

Eddie Peloke

unread,
May 3, 2012, 8:54:08 PM5/3/12
to cocoahead...@googlegroups.com
Jamie,

How do you like Hockeyapp?  We've been using Testflight for a while now and for the most part, seems to work ok but hockey app looks interesting.

Eddie
Reply all
Reply to author
Forward
0 new messages