views:

4721

answers:

2

So when I set up my entitlements in my iPhone app project, I create a new Entitlements.plist, and set the value of get-task-allow to false. But why? What does this key represent?

EDIT

Note this is related to this question - I found that flipping the value of this key to true allowed me to install the app on my device)

+3  A: 

The ability to debug your application on the iPhone.

cdespinosa
Interesting! If that's all it does, then I wonder why flipping the value to false prevents me from installing the app on my device? (Related SO question: http://stackoverflow.com/questions/997884/application-could-not-be-verified-error-when-building-app-for-iphone-device)
Mr. Matt
That's what it does...but what does it ACTUALLY do that allows you to do that?
Ryan Detzel
+15  A: 

From this thread on ADC:

get-task-allow, when signed into an application, allows other processes (like the debugger) to attach to your app. Distribution profiles require that this value be turned off, while development profiles require this value to be turned on (otherwise Xcode would never be able to launch and attach to your app).

Mr. Matt