Xcode 中的 get-task-allow 有什么作用? [英] What does get-task-allow do in Xcode?

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

问题描述

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

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?

注意这与有关为 iPhone 设备构建应用程序时无法验证应用程序错误 - 我发现将此键的值翻转为 true 允许我在我的设备上安装应用程序)

Note this is related to Application could not be verified error when building app for iPhone device - I found that flipping the value of this key to true allowed me to install the app on my device)

推荐答案

来自 关于 ADC 的这个主题:

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

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

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

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