我的应用程序在应用程序商店,我在我的应用程序内启用了批评。报告崩溃后:
Threads
_________________________________
Thread: Unknown Name (Crashed)
0 libobjc.A.dylib 0x00000001973f7bdc objc_msgSend + 28
1 UIKit 0x000000018b59952c -[UIKeyboardImpl centerFilled] + 88
2 UIKit 0x000000018b90eb00 -[UIKBBackgroundView refreshStyleForKeyplane:inputTraits:] + 300
3 UIKit 0x000000018b599284 -[UIKeyboardLayoutStar updateBackgroundIfNeeded] + 384
4 UIKit 0x000000018b591cc4 -[UIKeyboardLayoutStar setKeyplaneName:] + 2672
5 UIKit 0x000000018b4d2f7c -[UIKeyboardLayoutStar setShift:] + 180
6 UIKit 0x000000018b4d2ca8 -[UIKeyboardImpl notifyShiftState] + 84
7 CoreFoundation 0x0000000186c92a50 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
8 CoreFoundation 0x0000000186c8f9dc __CFRunLoopDoObservers + 356
9 CoreFoundation 0x0000000186c8fd24 __CFRunLoopRun + 680
10 CoreFoundation 0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
11 GraphicsServices 0x000000018fd675a4 GSEventRunModal + 164
12 UIKit 0x000000018b4f23c0 UIApplicationMain + 1484
13 Eventi 0x00000001000e6e80 main (main.m:16)
14 libdyld.dylib 0x0000000197a52a08 start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b50c94 kevent64 + 8
1 libdispatch.dylib 0x0000000197a2b3b4 _dispatch_mgr_thread + 48
Thread: Unknown Name
0 Eventi 0x000000010034bce0 mach_exception_callback + 188
1 Eventi 0x0000000100358054 exception_server_thread + 304
2 libsystem_pthread.dylib 0x0000000197c07e80 _pthread_body + 160
3 libsystem_pthread.dylib 0x0000000197c07ddc _pthread_start + 156
4 libsystem_pthread.dylib 0x0000000197c04fb0 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b50e7c mach_msg_trap + 8
1 CoreFoundation 0x0000000186c91ed0 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000186c8fe24 __CFRunLoopRun + 936
3 CoreFoundation 0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
4 CFNetwork 0x00000001866c24e8 +[NSURLConnection(Loader) _resourceLoadLoop:] + 436
5 Foundation 0x0000000187badc0c __NSThread__main__ + 1068
6 libsystem_pthread.dylib 0x0000000197c07e80 _pthread_body + 160
7 libsystem_pthread.dylib 0x0000000197c07ddc _pthread_start + 156
8 libsystem_pthread.dylib 0x0000000197c04fb0 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b6b498 __select + 8
1 libsystem_pthread.dylib 0x0000000197c07e80 _pthread_body + 160
2 libsystem_pthread.dylib 0x0000000197c07ddc _pthread_start + 156
3 libsystem_pthread.dylib 0x0000000197c04fb0 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b50e7c mach_msg_trap + 8
1 CoreFoundation 0x0000000186c91ed0 __CFRunLoopServiceMachPort + 196
2 CoreFoundation 0x0000000186c8fe24 __CFRunLoopRun + 936
3 CoreFoundation 0x0000000186bbd0a4 CFRunLoopRunSpecific + 392
4 Foundation 0x0000000187ac5804 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 312
5 Foundation 0x0000000187b1fef8 -[NSRunLoop(NSRunLoop) run] + 92
6 Eventi 0x00000001000c7470 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:162)
7 Foundation 0x0000000187badc0c __NSThread__main__ + 1068
8 libsystem_pthread.dylib 0x0000000197c07e80 _pthread_body + 160
9 libsystem_pthread.dylib 0x0000000197c07ddc _pthread_start + 156
10 libsystem_pthread.dylib 0x0000000197c04fb0 thread_start + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b6bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197c04fa8 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b6bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197c04fa8 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b6bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197c04fa8 start_wqthread + 0
Thread: Unknown Name
0 libsystem_kernel.dylib 0x0000000197b6bc78 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000197c04fa8 start_wqthread + 0
有没有办法解决这个崩溃?此外,我无法通过启用Zoombie
或malloc guard
来重现此崩溃。
答案 0 :(得分:1)
您是否尝试在发布模式下运行它(默认为debug - >在左上方的xCode角保留您的应用名称,选择编辑方案,选择运行选项卡,更改构建配置以释放,不要忘记切换它稍后再调试。)
似乎将默认键盘更改为其他键盘的问题。打开AppStore,下载自定义键盘(例如Swype,它很受欢迎,因此很有可能会崩溃)并尝试在你的应用程序中更改它。