Xcode7.3真机调试 报错:process launch failed: failed to get the task for process XXXX

如下图一所示:真机调试运行,弹窗:process launch failed: failed to get the task for process XXXX,XXXX代表每次运行最后的数字。

Xcode7.3真机调试 报错:process launch failed: failed to get the task for process XXXX_第1张图片
图一.png

提示这个错误的原因:

配置文件出错。真机运行的profile不能使用分发的配置文件例如ADHOC或者发布至AppStore的配置文件,而应该使用自动配置或者开发模式的配置文件。

Xcode7.3真机调试 报错:process launch failed: failed to get the task for process XXXX_第2张图片
图二.png

解决方案:

如图三所示:


Xcode7.3真机调试 报错:process launch failed: failed to get the task for process XXXX_第3张图片
图三.png

你可能感兴趣的:(Xcode7.3真机调试 报错:process launch failed: failed to get the task for process XXXX)