启动远程程序时出错:无法获取进程699的任务 [英] Error launching remote program: failed to get the task for process 699

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

问题描述

我正在使用我的ipod touch调试我的应用程序。两天前我也做了调试。但从昨天开始,我可以使用调试模式运行应用程序。应用程序也在调试时打开基础。应用程序完全启动后,几秒钟后我收到此错误启动远程程序时出错:无法获取进程699的任务。之后,我的应用程序崩溃了。请帮助我...

I'm debugging my application using my ipod touch. Two days before also I did the debugging. But from yesterday I can able to run the application with debug mode. Application also open basis on the debugging. After the application launched completely, after few seconds I got this error "Error launching remote program: failed to get the task for process 699." after that My Application get crashed. Please help me...

推荐答案

当应用程序包含Entitlements.plist时,我在通过XCode调试设备上的二进制文件时遇到问题文件,无需安装到设备上进行调试。一般情况下,我已将此文件包含在发布版本中(App Store需要它)并将其删除以进行调试(因此我可以从XCode调试应用程序)。这可能是你的问题。

I have had problems debugging binaries on the device via XCode when the app includes an Entitlements.plist file, which is not necessary to install onto the device for debugging. In general, then, I have included this file for release builds (where it is required for the App Store) and removed it for debugging (so I can debug the app from XCode). That may be your problem here.

更新:自(至少)2010年8月(iPhone 4.1 SDK)起,不再需要在您的应用程序中包含Entitlements.plist在许多情况下(例如,通过App Store分发。)有关需要Entitlements.plist的案例的详细信息,请参阅此处:

Update: As of (at least) August 2010 (iPhone 4.1 SDK) the Entitlements.plist is no longer necessary to include in your application in many cases (e.g., distribution through the App Store.) See here for more information on the cases when Entitlements.plist is required:

IMPORTANT: An Entitlements file is generally only needed when building for Ad Hoc Distribution or enabling Keychain data sharing. If neither of these is true, delete the entry in Code Signing Entitlements. (emphasis mine)

同时检查你的个人资料。

Also check your profile.

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.

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

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