2014-10-28 72 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(這是不正確連接)連接..

通過固定得到了上面的問題解決..