xcode - iPhone Debugging: How to resolve 'failed to get the task for process'? - Stack Overflow

The program being debugged is not being run.

Everyone sees this once in a while during Xcode development for iPhone apps. And there are a million reasons and hacks that make it go away.

Here is the definitive one:

You cannot debug an iPhone app signed with an Ad Hoc Distribution cert.

Let me say this again.

You cannot debug an iPhone app signed with an Ad Hoc Distribution cert.

So if you're getting this error, you've probably misconfigured your cert signing (in my case, I made all configurations - Debug, Release, Distribution - use the same cert).

Solution is to change your cert to be a matching developer cert.

Hat tip to this URL, which has this buried among a million other "fixes"

http://stackoverflow.com/questions/1488600/iphone-debugging-how-to-resolve-failed-to-get-the-task-for-process

转载于:https://www.cnblogs.com/yinghuochong/p/3385569.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值