What does get-task-allow do in Xcode?

Codebeef picture Codebeef · Jun 16, 2009 · Viewed 67.1k times · Source

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)

Answer

Codebeef picture Codebeef · Jun 22, 2009

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).