applicationWillTerminate に何か問題がありますか?
例外のトレースまたは詳細を分析する方法を誰が教えてくれますか?
私は dwarfdump を試しましたが、それ以上の詳細はないようです。
dwarfdump -arch armv7 MyApp.app.dSYM --lookup 0x000034b3
教えて
Line table file: 'main.m' line 14, column 18 with start address 0x00000000000034aa
これは
int retVal = UIApplicationMain(argc, argv, nil, nil);
ここにスタックトレースがあります
-[UIApplication applicationWillTerminate:]: unrecognized selector sent to instance 0x27eed0
(null)
(
0 CoreFoundation 0x30df964f __exceptionPreprocess + 114
1 libobjc.A.dylib 0x34914c5d objc_exception_throw + 24
2 CoreFoundation 0x30dfd1bf -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
3 CoreFoundation 0x30dfc649 ___forwarding___ + 508
4 CoreFoundation 0x30d73180 _CF_forwarding_prep_0 + 48
5 CommonTools 0x089e441f -[ButtonEventOpt onProcClickEvent:state:frame:viewControl:] + 1662
6 CommonTools 0x089ead37 -[CommonToolsView onClickBtnEvent:] + 366
7 CoreFoundation 0x30d69571 -[NSObject(NSObject) performSelector:withObject:withObject:] + 24
8 UIKit 0x30e77ec9 -[UIApplication sendAction:to:from:forEvent:] + 84
9 UIKit 0x30e77e69 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32
10 UIKit 0x30e77e3b -[UIControl sendAction:to:forEvent:] + 38
11 UIKit 0x30e77b8d -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 356
12 UIKit 0x30e78423 -[UIControl touchesEnded:withEvent:] + 342
13 UIKit 0x30e5d535 _UIGestureRecognizerSortAndSendDelayedTouches + 2200
14 UIKit 0x30e5cc01 _UIGestureRecognizerUpdateObserver + 696
15 CoreFoundation 0x30dd0a35 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
16 CoreFoundation 0x30dd2465 __CFRunLoopDoObservers + 412
17 CoreFoundation 0x30dd375b __CFRunLoopRun + 854
18 CoreFoundation 0x30d63ec3 CFRunLoopRunSpecific + 230
19 CoreFoundation 0x30d63dcb CFRunLoopRunInMode + 58
20 GraphicsServices 0x306e241f GSEventRunModal + 114
21 GraphicsServices 0x306e24cb GSEventRun + 62
22 UIKit 0x30e89d69 -[UIApplication _run] + 404
23 UIKit 0x30e87807 UIApplicationMain + 670
24 MyApp 0x000034b3 MyApp + 9395
25 MyApp 0x0000346c MyApp + 9324
)