process launch failed: failed to get the task for process 28107

来源:互联网 发布:mpp软件免费下载 编辑:程序博客网 时间:2024/06/12 01:24
down vote accepted

I am betting that your release mode includes compiling with your distribution certificate, which disallows this behavior (you wouldn't want some random fool hooking into your app after downloading it from the app store). Compile with the development certificate instead. You can change this in the building settings under code signing.

遇到的问题:我想在真机上调试代码。但是报错提示:process launch failed: failed to get the task for process 28107

错误原因就是上面英文说的:

大意就是:code signing下面用的是distribution certificate(发布的证书),如果要调试的话,应该用 development certificate(调试的证书),
                                             
0 0
原创粉丝点击