Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

kalariyaamit

macrumors newbie
Original poster
Sep 18, 2008
8
0
Ahmedabad, Gujrat - India
I posted this solution on another thread -- copied here for you:

SOLVED.

First, look at your ad-hoc provisioning file in text edit (just view it, don't overwrite it!)

If it does NOT contain a line that says "<key>get-task-allow</key>" then you need to go to the program portal and get a NEW ad-hoc provisioning profile. There is a workaround where you can use the provisioning profile without this key, but Apple apparently has added this key to the ad-hoc provisions, and you might as well have the latest.

However, that is not the final fix.

The next thing you have to do is add a new file to the root of your project ... file, new file, iphone, code signing, entitlements. Call it "dist.plist" ...

Open that file, and it will say "get-task-allow" with a checkmark for "true" -- this needs to be FALSE. Uncheck the checkbox, or if in text mode, type in "false"

OK, almost there!!!

Open the target build info window and where it says "Code Signing Entitlements" add "dist.plist"

CLEAN THE BUILD

BUILD AND GO

ENJOY. :)

Amit Kalariya.
Virtueinfo - Ahmedabad.
 

haqu

macrumors newbie
Aug 8, 2009
1
0
Open that file, and it will say "get-task-allow" with a checkmark for "true" -- this needs to be FALSE. Uncheck the checkbox, or if in text mode, type in "false"

Thank you! Setting get-task-allow to false solved my problem.
 

am8tam

macrumors newbie
Sep 12, 2009
1
0
help ?

what do you mean ad-hoc provisioning file in text edit where is that in the iphone ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.