get-task-allow在Xcode中做什么? [英] What does get-task-allow do in Xcode?

查看:983
本文介绍了get-task-allow在Xcode中做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以当我在我的iPhone应用程序项目中设置我的权利,我创建一个新的Entitlements.plist,并将get-task-allow的值设置为false。但为什么?



请注意,这是与

有关

a href =http://stackoverflow.com/questions/997884/application-could-not-be-verified-error-when-building-app-for-iphone-device>此问题 - 我找到了

解决方案

ADC上的此线程



get-task - 当签入应用程序时,允许其他进程(如调试器)附加到您的应用程序。发布配置文件要求关闭此值,而开发配置文件需要打开此值(否则Xcode将永远无法启动并附加到您的应用程序)。


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)

解决方案

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

这篇关于get-task-allow在Xcode中做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆