首页 > 代码库 > XCode Could not launch "" failed to get the task for process

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

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

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



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

使用开发者证书就OK了

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