启动远程程序时出错:无法获取进程 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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当应用程序包含 Entitlements.plist 文件时,我在通过 XCode 调试设备上的二进制文件时遇到问题,而无需将其安装到设备上进行调试。一般来说,我会在发布版本中包含此文件(App Store 需要它)并删除它以进行调试(以便我可以从 XCode 调试应用程序)。这可能是你的问题。
更新:(至少)自 2010 年 8 月(iPhone 4.1 SDK)起,在许多情况下(例如,通过 App Store 分发),不再需要将 Entitlements.plist 包含在您的应用程序中。请参阅此处,了解有关以下情况的更多信息: Entitlements.plist 是必需的:
另请检查您的个人资料。
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:
Also check your profile.
对于 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