iOS真機(jī)調(diào)試程序岖沛,報如下錯誤信息:
failed to get the task for process XXX
原因:
證書問題,project和targets的證書都必須是開發(fā)證書,ADHOC的證書會出現(xiàn)此問題分井。
解決方案:
project和targets的證書使用開發(fā)證書魂毁。
其他:
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.就這么簡單.