title: ios Application crash : failed to resume in time
body: <p>i am very new on iOS development. I have an issue , my app goes crash when app comes in foreground. I made a lot of search and found many solution but no one useful in my case. crash logs :</p>
  
  <pre><code>Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Date/Time:       2013-08-16 
  
  14:01:52.042 +0530
  Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: OS Version:      iOS 6.1.3 (10B329)
  Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Report Version:  104
  Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;:  
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Exception Type:  00000020
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Exception Codes: 0x000000008badf00d
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Highlighted Thread:  0
  Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;:  
  Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Application Specific Information:
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: com.quytech.cakeboy failed to resume in time
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;:  
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: 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] &lt;Error&gt;: Elapsed application CPU time (seconds): 0.020, 0% CPU
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;:  
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Thread 0 name:  Dispatch queue: com.apple.main-thread
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: Thread 0:
  ��Aug 16 14:01:53 Sids-iPhone-2 ReportCrash[850] &lt;Error&gt;: 0   libsystem_kernel.dylib    
  </code></pre>
  
  <p>can anyone tell me about the proper reason of this. Thanks in advance.</p>