failed to get the task for process XXX(解决方案)

引人:

    iOS真机调试程序,报如下错误信息:

failed to get the task for process XXX

 

原因:

证书问题,projecttargets的证书都必须是开发证书,ADHOC的证书会出现此问题。

 

解决方案:

    projecttargets的证书使用开发证书

 

其他:

failed to get the task for process XXX

 

This error happens when you have set Distribution Provisioning profile in code signing. Change it to Developer Provisioning Profile, then it will work. Worked for me for Xcode SDK 4.5.

把你的code sign由Distribution改成Developer.就这么简单.

转:http://blog.csdn.net/itianyi/article/details/8575154

原文地址:https://www.cnblogs.com/ygm900/p/3458617.html