2014-10-28 37 views
5

我的应用程序运行良好,突然间我现在也开始使用iOS 8和以前的操作系统。启动时发生应用程序崩溃

崩溃日志是这样的:

iPhone kernel[0] <Notice>: xpcproxy[566] Container: /private/var/mobile/Containers/Data/Application/xxxxxx-xxxx-xxxxx-xxxxxxxx (sandbox)

iPhone ReportCrash[567] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)

iPhone ReportCrash[567] <Notice>: ReportCrash acting against PID 566

iPhone ReportCrash[567] <Notice>: Formulating crash report for process app_name[566]

iPhone locationd[63] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.xxxxx[0xc36c][566]) <Notice>: Service exited due to signal: Trace/BPT trap: 5

iPhone SpringBoard[43] <Warning>: Application 'UIKitApplication:com.xxxxx[0xc36c]' crashed.

iPhone assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x16624ab0; com.xxxxx; pid: 566> to 2, priority: No such process

iPhone assertiond[57] <Warning>: Could not set priority of <BKNewProcess: 0x16624ab0; com.xxxxx; pid: 566> to 4096, priority: No such process

我已经不知道这个问题,但没有得到任何确切的解决方案。 请帮助我,因为我需要尽快解决此问题。 任何帮助肯定会感激。

在此先感谢!! !!

+0

你有没有试过调试?让我们知道它崩溃的确切位置或代码片断。我们中的许多人都面临着iOS 8上尚未解决的问题。 – 2014-10-28 06:32:52

+2

以上所有条目似乎都与您的应用无关。请包括您的应用相关的崩溃日志,这将有助于查明问题的根源。 – 2014-10-28 06:34:36

+0

感谢您的回复。控制台中的这些行导致应用程序崩溃。正如我提到的应用程序在启动时崩溃,所以无法找到更多关于它的信息。 – 2014-10-28 06:47:25

回答

1

我有类似的问题。

iPhone ReportCrash [567]:task_set_exception_ports(B07,400,D03,0,0)失败,错误(4:(OS /克恩)无效的参数)

我试图这个解决我的问题和它工作得很好。

转到您的项目>构建设置>每斯威夫特编译>在优化级别>设置调试搜索和释放无[-Onone]

好运。

+0

它对我不起作用 – jose920405 2015-11-30 23:22:04

0

我在下面的场景中遇到了这个崩溃 - Main Story板场景中有一个标签,它的引用位于视图控制器之一中。但是,在视图控制器类IBOutlet中UILable没有被创建,但在故事板我曾试图把它与UILable(这是不正确连接)连接..

通过固定得到了上面的问题解决..