error launching remote program failed to get the task for process

Error  Starting executable:

          error launching remote program failed to get the task for process 715

这个问题的解决方案如下(本人使用的是Xcode4.3):

1.Select File->New File->ios->resources->property List         name the file "Entitlements.plist‘  -->Creat

2.点击这个Entitlements.plist,在右侧的空白处右键选择Add Row  自己新建一个"Can be debugged"设置为Boolen 然后选择YES

3.在build setting当中找到Code Singing Entitlements 将那项值改为刚刚新建的Entitlements.plist

4.然后Run 错误就不会在出现了。

原文地址:https://www.cnblogs.com/ygm900/p/3147934.html