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

Posted itianyi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了报错: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.就这么简单.


补充:

iphone5s的时候会出现:process launch failed: security

这时候,应该app其实已经安装成功了,你只需要在iphone上启动app,然后点击信任就可以了。


以上是关于报错:failed to get the task for process XXX(解决方案)的主要内容,如果未能解决你的问题,请参考以下文章

fail to get a free connection

Kubernetes Kubelete 报错 ctr: failed to create shim task: OCI runtime create failed

Failed to check the status of the service报错解决

metricbeat导入dashboard报错Failed to unzip the archive

vagrant第一次安装添加box报错:The box failed to unpackage properly....

MySQL主从报错解决:Failed to initialize the master info structure