Search code examples
iosios5ios6crashipa

Unable to start debug IPA on iOS 6, it runs perfectly on iOS 5


On console, I have this message:

backboardd[51] : BKSendGSEvent ERROR sending event type 23: (ipc/send) timed out (0x10000004)

Then it crashes. The crash report is:

Hardware Model:      iPad2,1
Process:         abc [3243]
Path:            /var/mobile/Applications/...
Identifier:      abc
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2012-10-...
OS Version:      iOS 6.0 (10A403)
Report Version:  104

Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread:  0

Application Specific Information:
com.abc failed to launch in time

Elapsed total CPU time (seconds): 20.910 (user 20.910, system 0.000), 52% CPU 
Elapsed application CPU time (seconds): 19.898, 50% CPU

The release version works fine on both iOS 5 and 6.


Solution

  • The most likely reason is that your application initial setup takes too long to complete. Try to modify your application:didFinishLaunching method to do less tasks.

    The new iOS6 has a built-in timer that closes the application if it takes too long to start.