Xcode:failed to get the task for process XXX 解决办法
问题:
iOS真机调试程序,报如下错误信息:failed to get the task for process XXX
原因:
证书问题,project和target的证书都必须是开发证书,不能用分发证书。
解决方案:
project和targets的证书使用开发证书。
将code sign证书改成开发者证书。
This error happens when you have set Distribution Provisioning profile in code signing. Change it to Developer Provisioning Profile, then it will work

