启动远程程序时出错:无法获取进程 699 的任务

发布于 2024-11-06 12:22:40 字数 146 浏览 2 评论 0原文

我正在使用 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...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不可一世的女人 2024-11-13 12:22:40

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

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

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)

另请检查您的个人资料。

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.

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.

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.
爱人如己 2024-11-13 12:22:40

对于 xcode 4:您必须从新文件创建 Entitlements.plist 文件。和
Targets->build Settings->Code Signing Entitlements 你必须在这里写“Entitlements.plist”

我这样做了,xcode 不再出现错误

For xcode 4:you have to create Entitlements.plist file from new file. and
Targets->build Settings->Code Signing Entitlements you have to write here "Entitlements.plist"

I did this and xcode don not get anymore error

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文