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.就這麼簡單.