Xcode构建和运行错误:“进程启动失败:无法获得进程216的任务” [英] Xcode build & run error: "Process launch failed: Failed to get the task for process 216"

查看:267
本文介绍了Xcode构建和运行错误:“进程启动失败:无法获得进程216的任务”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在更新到Mavericks并确保我也安装了Xcode的最新更新之后,Xcode突然无法在设备上启动应用程序。

After updating to Mavericks and making sure I got the latest updates of Xcode installed as well, Xcode suddenly fails to launch apps on the device.

它将安装该应用程序在我的iPhone上,但是然后在运行它之前,抛出此错误:

It installs the app on my iPhone but then before running it, throws this error:


进程启动失败:无法获取进程216的任务

Process launch failed: Failed to get the task for process 216

这是自更新以来的代码签名设置:

This is how the Code Signing settings look like since the update:

还选中了Scheme,它在调试配置。

Also checked Scheme and it runs in Debug configuration.

这是Mavericks的已知问题吗?

Is this a known issue with Mavericks? How to fix it?

推荐答案

使用分发配置文件对其进行签名时出现此错误。在我的情况下,这是一个临时配置文件。

I got this error when signing it with a distribution profile. In my case, it was an Ad Hoc profile.

这让我感到困惑,因为如果您签署后就无法运行并将其直接安装到设备上它与分布配置文件。就我而言,我使用testflightapp并能够上载IPA。

It was confusing to me because you can't 'run' and install the app directly to your device if you sign it with a distribution profile. For my case, I use testflightapp and was able to upload the IPA.

错误消息不是很能说明问题。

The error message is not very descriptive of the problem.

此外,如果遇到问题,请确保检查项目和目标的配置文件

Also, if you are stuck, make sure you check the profiles for both the 'Project' and the 'Target'

这篇关于Xcode构建和运行错误:“进程启动失败:无法获得进程216的任务”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆