一、问题
我用发布证书,想联机调试,启动程序闪屏后就出现以下错误:
failed to get the task for process 1363
二、解决方法:
创建一个开发者证书,关联手机,来进行联机调试
下载用于编译的证书
a) 打开Provisioning 下载,这个证书不要双击安装。安装方法如下:
b) 连接你的iPhone到电脑;
c) 将你的Xcode图标拖到Dock上;(这步貌似可以不用的)
d) 拖动你的证书到Xcode上立即释放。
e) 在organizer窗口Devices标签中下面两个位置就会出现你的证书名称。并且 Status状态一定会绿色。到次证书就设置完成,下面继续说使用证书。
三、可能原因:
The ad-hoc profile doesn't support debugging. You need to debug with a Development profile, and use the Ad-Hoc profile only for distributing non-debuggable copies.