Xcode中get-task-allow有什么用

91 篇文章 3 订阅

failed to get the task for process问题

A: Why am I getting "Error launching remote program: failed to get the task for process" when debugging an iPhone application on the device?

  You are getting the "Error launching remote program: failed to get the task for process" error message because you are either using your Ad Hoc or Distribution Provisioning profile when debugging your iPhone application on your device or you specified a code signing entitlements property list in your build settings which does not include a get-task-allow or "Can be debugged" property.

Debugging when using a Distribution Profile

  Distribution profiles don't have a get-task-allow entitlement property, which is needed for debugging iPhone applications. However, this property is available and enabled for Development Provisioning profiles. So, use your Development profile rather than your Distribution profile when debugging your iPhone application on the device.

Missing Entitlement Property】  

  If you specified a code signing entitlements property list in your build settings, make sure that your property list contains the get-task-allow property.

https://www.cnblogs.com/tekkaman/p/3715560.html?utm_source=debugrun&utm_medium=referral

------------------------------------------------------------------------------

【流程问题获取任务失败】


A:在设备上调试iPhone应用程序时,为什么会出现“启动远程程序时出错:无法获得进程任务”?


您将收到“错误启动远程程序:无法获取进程任务”错误消息,因为您在设备上调试iPhone应用程序时使用了临时配置文件或分发设置配置文件,或者在生成设置中指定了代码签名授权属性列表,但不包括get-task-allow或“can be debugged”属性。


【使用分布图时调试】


分发配置文件没有调试iPhone应用程序所需的get-task-allow属性。但是,此属性对开发配置文件可用并启用。因此,在设备上调试iPhone应用程序时,请使用开发配置文件而不是分发配置文件


【权利财产缺失】


如果在生成设置中指定了代码签名授权属性列表,请确保属性列表包含get-task-allow属性。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值