Xcode无法获得进程XXX的任务。我该如何解决这个问题? (iPhone SDK 4.0) [英] Xcode fails to get the task for process XXX. How do I solve this? (iPhone SDK 4.0)

查看:75
本文介绍了Xcode无法获得进程XXX的任务。我该如何解决这个问题? (iPhone SDK 4.0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在我的ipod上运行新项目时出现以下错误:

I have the following error when I try to run a new project on my ipod:

Error launching remote program: failed to get the task for process 312.
The program being debugged is not being run.

我读过有关Entitlements.plist的信息,我试图添加get-task-允许,但由于代码签名错误,它不允许我编译。我只有一个开发配置文件,所以它与尝试调试分发版本的人不一样(我也在调试版本中,所以这不是问题)。

I've read about Entitlements.plist, and I've tried to add the get-task-allow, but then it doesn't let me compile because of a code signing error. I only have a development provisioning profile, so it's not the same as the people who were trying to debug the distribution build (I'm also in the debug build, so that isn't a problem).

旧项目在ipod上构建并运行正常,只是新项目。

Old projects build and run fine on the ipod, just new projects.

我尝试重新启动xcode和我的ipod,但它没有帮助。

I've tried restarting both xcode and my ipod, but it doesn't help.

我对如何在xcode上构建/运行新项目没有更多的想法,所以非常感谢任何帮助!

I have no more ideas on how to build/run new projects on xcode, so any help is much appreciated!

哦,我正在使用带有iOS 4.0.1的iPod 3G。 Xcode是3.2.3(64位)。

Oh, and I'm using an iPod 3G with iOS 4.0.1. Xcode is 3.2.3 (64-bit).

推荐答案

事实证明,使用不同的配置文件(带有通配符的配置文件)而不是一个没有解决这个问题。

It turns out that using a different provisioning profile (one with a wildcard rather than one without) solved this issue.

关键是使用开发者个人资料而不是分发个人资料。

The key point is to use a Developer profile rather than a Distribution profile.

这篇关于Xcode无法获得进程XXX的任务。我该如何解决这个问题? (iPhone SDK 4.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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