XCode Could not launch "" failed to get the task for process

在Xcode下编译project正常,在模拟器下执行正常,最后在真机上执行的时候出现了例如以下错误:

Could not launch "FeedMeWorms" failed to get the task for process 3118



原因是:我的签名是distribution certificate,即公布者证书,不同意在真机上直接执行

使用开发人员证书就OK了

參考:http://blog.csdn.net/teng_ontheway/article/details/8467932

原文地址:https://www.cnblogs.com/zfyouxi/p/4024585.html