Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

ios app in production crashed in TiErrorController

$
0
0

my app has already been published in apple appstore, but it usually crash, with the following crash log:

0 libobjc.A.dylib 0x349d4f46 _objc_msgSend + 5 1 babycalendar 0x00083a9d -[TiUIView updateTouchHandling] + 48 2 babycalendar 0x00083b8b -[TiUIView initializeState] + 66 3 babycalendar 0x00071fb5 -[TiViewProxy view] + 292 4 babycalendar 0x00074403 -[TiViewProxy determineSandboxBounds] + 26 5 babycalendar 0x000745bb -[TiViewProxy refreshView:] + 350 6 babycalendar 0x000751c5 -[TiViewProxy layoutChildrenIfNeeded] + 144 7 babycalendar 0x0011ce15 -[TiErrorController viewDidAppear:] + 4416 8 CoreFoundation 0x26ed6c87 <redacted> + 14 9 CoreFoundation 0x26ed6803 <redacted> + 650 10 CoreFoundation 0x26ed4a53 <redacted> + 1418 11 CoreFoundation 0x26e223c1 _CFRunLoopRunSpecific + 476 12 CoreFoundation 0x26e221d3 _CFRunLoopRunInMode + 106 13 GraphicsServices 0x2e1f70a9 _GSEventRunModal + 136 14 UIKit 0x2a431fa1 _UIApplicationMain + 1440 15 babycalendar 0x0005304f +[TiFile createTempFile:] + 438

in line 7: 7 babycalendar 0x0011ce15 -[TiErrorController viewDidAppear:] + 4416

It means the app was crashed in the TiErrorController. But as far as i know, app running in production will never show the red error dialog. I checked the source code of TiApp:

-(void)showModalError:(NSString*)message { if ([TI_APPLICATION_DEPLOYTYPE isEqualToString:@"production"]) { NSLog(@"[ERROR] Application received error: %@",message); return; } ENSURE_UI_THREAD(showModalError,message); TiErrorController *error = [[[TiErrorController alloc] initWithError:message] autorelease]; [controller presentModalViewController:error animated:YES]; }

It proved my thought. So can any help me, why my app will crash and what should i do ?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>