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

时间:2023-03-09 09:27:44
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

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

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

使用开发人员证书就OK了

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