【xcode】错误之Could not launch "" failed to get the task for process

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

在Xcode下编译工程正常,在模拟器下运行正常,最后在真机上运行的时候出现了如下错误:

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

 

原因是:我的签名是distribution certificate,即发布者证书,不允许在真机上直接运行

使用开发者证书就OK了

原文地址:https://www.cnblogs.com/yangmx/p/4302946.html