2013-08-16 126 views
1

我在iOS開發中很新。我有一個問題,當應用程序進入前臺時,我的應用程序崩潰。我進行了大量搜索,發現了很多解決方案,但對我而言沒有任何用處。崩潰日誌:ios應用程序崩潰:無法及時恢復

Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Date/Time:  2013-08-16 

14:01:52.042 +0530 
Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: OS Version:  iOS 6.1.3 (10B329) 
Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Report Version: 104 
Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Exception Type: 00000020 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Exception Codes: 0x000000008badf00d 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Highlighted Thread: 0 
Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: 
Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Application Specific Information: 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: com.quytech.cakeboy failed to resume in time 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Elapsed total CPU time (seconds): 1.440 (user 1.440, system 0.000), 14% CPU 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Elapsed application CPU time (seconds): 0.020, 0% CPU 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Thread 0 name: Dispatch queue: com.apple.main-thread 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: Thread 0: 
��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] <Error>: 0 libsystem_kernel.dylib  

任何人都可以告訴我這個的正確原因。提前致謝。

+0

您是否嘗試過關於此問題的任何關於stackoverflow的建議?例如,http://stackoverflow.com/questions/3359448/iphone-crash-log-failed-to-resume-in-time http://stackoverflow.com/questions/14358620/application-failed-to-resume-在時間http://stackoverflow.com/questions/4414467/failed-to-resume-in-time-on-resumption-from-background-crash – ThomasW

+0

是的,我已經嘗試所有這些鏈接。但沒有人工作。 –

回答

3

0x8badf00d:此代碼表示應用程序因 終止,因爲發生了看門狗超時。基本上,應用程序 花費太長時間才能啓動,終止或響應系統事件。

你正在做的事情需要很長時間。查看回溯並嘗試對其進行符號化(將可執行代碼中的十六進制地址轉換爲方法名稱和行號),以便您可以瞭解問題所在。 This線程應該幫助你。

Demystifying iOS App Crashes是我發現非常有用的教程。