部署到设备时 iOS 应用程序崩溃 [英] iOS App crashes when deployed to device

查看:43
本文介绍了部署到设备时 iOS 应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,可以部署到物理设备上.构建成功并安装应用程序.但是在启动图像之后,我收到错误 failed to get the task for process 2284.

I have an app which I deploy to a physical device. The build succeeds and the App gets installed. But right after the launch image I get the error failed to get the task for process 2284.

当我退出 XCode 并在设备上手动启动应用程序时,它运行没有问题.

When I quit XCode and launch the application manually on the device it runs without problems.

XCode 控制台没有给我太多有价值的信息(参见 Gist)

The XCode console does not give me much valuable information (See Gist)

设备上的这个要点记录了设备上的内容./p>

This gist shows what the console on the device recorded.

推荐答案

我发现问题发生在我使用分发配置文件进行调试时.当我为应用创建非分发配置文件时,我可以再次调试.

I figured out, that the problem occurs when I am debugging with a Distribution profile. When I create a non-Distribution provisioning profile for the App I can debug again.

这篇关于部署到设备时 iOS 应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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