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.就這么簡單.
補(bǔ)充:
iphone5s的時候會出現(xiàn):process launch failed: security
這時候,應(yīng)該app其實已經(jīng)安裝成功了,你只需要在iphone上啟動app,然后點(diǎn)擊信任就可以了。