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

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

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



缘由是:个人签名是distribution certificate,即发布者证书,不容许在真机上直接运行orm

使用开发者证书就OK了开发