IPhone crash log: failed to resume in time

I look at my crash logs and notice that "failed to resume on time"

Application Specific Information: com.myApp.MyApp failed to resume in time elapsed total CPU time (seconds): 0.680 (user 0.350, system 0.330), 7% CPU elapsed application CPU time (seconds): 0.130, 1% CPU 

How can I renew on time?

+6
debugging objective-c iphone cocoa-touch ios4
source share
2 answers

I think the error means that you are doing something in the main thread that takes too much time. The phone stops responding and the OS kills your application.

Try using asynchronous APIs, if possible, or run a lengthy task in the background thread.

+12
source share

You may need a Google watchdog timer, there is some decent information on how this works. Allocated time to launch iphone applications .

+1
source share

All Articles