我刚刚在XCode中添加了一个配置文件(用于支持通知和应用内购买),按照需要设置了adhoc分发的构建配置,并尝试在设备上运行应用程序(过去已经多次做过这个操作,没有任何问题)。
应用程序已经安装,但是无法启动。在控制台上,我看到以下消息:
Error launching remote program: failed to get the task for process 82.
Error launching remote program: failed to get the task for process 82.
The program being debugged is not being run.
The program being debugged is not being run.
然而,如果我手动在设备上启动应用程序,则可以按预期工作。我最近为Snow Leopard安装了最新的XCode 3.2。这是该版本XCode的已知错误还是我做错了什么?
编辑:使用开发配置文件进行发布分发时,可以正常工作。 我再次检查了Ad Hoc配置文件,以确保其中包括我正在使用的设备。