码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-11-28 16:32:24      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

 

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

failed to get the task for process XXX

 

原因:

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

 

解决方案:

    project和targets的证书使用开发证书

 

其他:

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(解决方案)

标签:

原文地址:http://www.cnblogs.com/feijietongti/p/5002711.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!