启动远程程序时出错:无法在xcode 4.2上获取要处理的任务 [英] Error launching remote program: failed to get the task for process on xcode 4.2

查看:65
本文介绍了启动远程程序时出错:无法在xcode 4.2上获取要处理的任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在直接在iPhone上调试应用程序时遇到了一些问题.我正在使用xcode 4.2和一个越狱的ios 5.0.1设备,当尝试从excode在我的iPhone上启动该应用程序时,我收到以下消息:启动远程程序时出错:无法获取进程任务(此处有一些数字) 但是,如果我现在尝试直接在iphone上使用该应用程序,它将运行完美. 有谁知道如何修理它?谢谢.

I'm having some problems debugging apps directly on my iphone. I'm using xcode 4.2 and a jailbroken ios 5.0.1 device and when trying to launch the app on my iphone from excode I get the following message: "Error launching remote program: failed to get the task for process (some number here)" But if I now try to use the app directly on the iphone it works perfectly. Does anyone know how to fix it? thank you.

推荐答案

对于xcode 4: 您必须从菜单->文件->新建->新文件->代码签名->授权菜单创建Entitlements.plist文件.将在您的应用程序文件夹中创建Entitlements.Plist

For xcode 4: you have to create Entitlements.plist file from menu->File->New->New File->Code Signing->Entitlemens. it is going to be create Entitlements.Plist in your application folder

和目标"->构建设置"->代码签名权利",您已经两次单击此处并输入"Entitlements.plist"

and Targets->build Settings->Code Signing Entitlements, you have click here two time and write "Entitlements.plist"

我做到了,xcode不再出现错误

I did this and xcode don not get anymore error

这篇关于启动远程程序时出错:无法在xcode 4.2上获取要处理的任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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