问题描述
我在设备上运行我的应用程序时出现此错误。我已经安装了分发配置文件。
I am getting this error while running my app on the device.I have installed the distribution provisioning profile.
调试程序错误:启动远程程序时出错:无法执行从流程1637获取任务
error from debugger :error launching remote program: failed to get the task from process 1637
谢谢
推荐答案
我遇到过这个问题在我自己寻找答案时。我认为我的问题是我试图使用Ad-hoc配置而不是开发人员的调试规定从xCode启动和调试我的应用程序。 xCode会将应用程序构建并复制到设备但不会调试。
I came across this question while searching for an answer myself. I figured my problem was I was trying to launch and debug my app from xCode using the Ad-hoc provision rather than the developer 'Debug' provision. xCode would build and copy the app to the device but wouldn't debug.
我刚刚将Active Configuration更改为Debug,问题解决了。真是个愚蠢的错误。
I just changed the Active Configuration to Debug and the problem was solved. A silly mistake really.
这篇关于调试器出错:启动远程程序时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!