2016-05-02 124 views
0

我的應用在審覈過程中被拒絕,並收到崩潰報告。分析蘋果崩潰報告

他們說應用程序會在啓動時崩潰。

我已經象徵和Xcode 7

崩潰報告中,我找不到錯誤。有誰能夠幫助我?

Incident Identifier: 7F51C648-88CD-4140-8AEA-08E9738BC080 
CrashReporter Key: 26c02c90683f836314c526cecc4cd8fa6f92528c 
Hardware Model:  xxx 
Process:    MyApp [594] 
Path:    /private/var/containers/Bundle/Application/DCA01744-B65D-4F46-BF63-6B55C050E90E/MyApp.app/MyApp 
Identifier:   any.MyApp 
Version:    7 (6.5) 
Code Type:   ARM-64 (Native) 
Parent Process:  launchd [1] 

Date/Time:   2016-04-16 12:43:47.47 -0700 
Launch Time:   2016-04-16 12:43:45.45 -0700 
OS Version:   iOS 9.3.1 (13E238) 
Report Version:  105 

Exception Type: EXC_BREAKPOINT (SIGTRAP) 
Exception Codes: 0x0000000000000001, 0x0000000100036910 
Triggered by Thread: 0 

Filtered syslog: 
None found 

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 MyApp       0x0000000100036910 0x100024000 + 76048 
1 MyApp       0x00000001000300a0 0x100024000 + 49312 
2 MyApp       0x0000000100030198 0x100024000 + 49560 
3 UIKit       0x0000000187778b40 -[UIViewController loadViewIfRequired] + 996 
4 UIKit       0x0000000187839118 -[UINavigationController _layoutViewController:] + 72 
5 UIKit       0x0000000187838ff0 -[UINavigationController _updateScrollViewFromViewController:toViewController:] + 416 
6 UIKit       0x0000000187838238 -[UINavigationController _startTransition:fromViewController:toViewController:] + 144 
7 UIKit       0x0000000187837ddc -[UINavigationController _startDeferredTransitionIfNeeded:] + 868 
8 UIKit       0x0000000187837a04 -[UINavigationController __viewWillLayoutSubviews] + 60 
9 UIKit       0x000000018783796c -[UILayoutContainerView layoutSubviews] + 208 
10 UIKit       0x00000001877740e4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 656 
11 QuartzCore      0x000000018511aa28 -[CALayer layoutSublayers] + 148 
12 QuartzCore      0x0000000185115634 CA::Layer::layout_if_needed(CA::Transaction*) + 292 
13 QuartzCore      0x00000001851154f4 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 32 
14 QuartzCore      0x0000000185114b24 CA::Context::commit_transaction(CA::Transaction*) + 252 
15 QuartzCore      0x000000018511486c CA::Transaction::commit() + 512 
16 QuartzCore      0x000000018510ddd8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 80 
17 CoreFoundation     0x00000001825ec7b0 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 
18 CoreFoundation     0x00000001825ea554 __CFRunLoopDoObservers + 372 
19 CoreFoundation     0x0000000182514d30 CFRunLoopRunSpecific + 416 
20 UIKit       0x00000001877e7834 -[UIApplication _run] + 460 
21 UIKit       0x00000001877e1f70 UIApplicationMain + 204 
22 MyApp       0x000000010006a5ec 0x100024000 + 288236 
23 libdyld.dylib     0x00000001820b28b8 start + 4 

Thread 1 name: Dispatch queue: com.apple.libdispatch-manager 
Thread 1: 
0 libsystem_kernel.dylib   0x00000001821d14d8 kevent_qos + 8 
1 libdispatch.dylib    0x00000001820947d8 _dispatch_mgr_invoke + 232 
2 libdispatch.dylib    0x0000000182083648 _dispatch_source_invoke + 0 

Thread 2: 
0 libsystem_kernel.dylib   0x00000001821d0b48 __workq_kernreturn + 8 
1 libsystem_pthread.dylib   0x0000000182299530 _pthread_wqthread + 1284 
2 libsystem_pthread.dylib   0x0000000182299020 start_wqthread + 4 

Thread 3: 
0 libsystem_kernel.dylib   0x00000001821d0b48 __workq_kernreturn + 8 
1 libsystem_pthread.dylib   0x0000000182299530 _pthread_wqthread + 1284 
2 libsystem_pthread.dylib   0x0000000182299020 start_wqthread + 4 

Thread 4: 
0 libsystem_kernel.dylib   0x00000001821d0b48 __workq_kernreturn + 8 
1 libsystem_pthread.dylib   0x0000000182299530 _pthread_wqthread + 1284 
2 libsystem_pthread.dylib   0x0000000182299020 start_wqthread + 4 

Thread 5 name: com.apple.coremedia.player.async 
Thread 5: 
0 libsystem_kernel.dylib   0x00000001821b5014 semaphore_wait_trap + 8 
1 libdispatch.dylib    0x00000001820923e8 _dispatch_semaphore_wait_slow + 244 
2 MediaToolbox     0x00000001885ad6d0 fpa_AsyncMovieControlThread + 1948 
3 CoreMedia      0x00000001849eeda0 figThreadMain + 272 
4 libsystem_pthread.dylib   0x000000018229bb28 _pthread_body + 156 
5 libsystem_pthread.dylib   0x000000018229ba8c _pthread_body + 0 
6 libsystem_pthread.dylib   0x0000000182299028 thread_start + 4 

Thread 6: 
0 libsystem_kernel.dylib   0x00000001821d0b48 __workq_kernreturn + 8 
1 libsystem_pthread.dylib   0x0000000182299530 _pthread_wqthread + 1284 
2 libsystem_pthread.dylib   0x0000000182299020 start_wqthread + 4 

Thread 0 crashed with ARM Thread State (64-bit): 
    x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x00000001566207f8 x3: 0x0000000156548400 
    x4: 0x0000000000000007 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000830 
    x8: 0x0000000000000000 x9: 0x00000001a08300e0 x10: 0x000001a1a083a289 x11: 0x000000150000001f 
    x12: 0x0000000156508940 x13: 0x000021a1a083a289 x14: 0x0000000000000010 x15: 0x0000000073935b34 
    x16: 0x0000000181cb5ef0 x17: 0x0000000181cb68dc x18: 0x0000000000000000 x19: 0x000000015654e3e0 
    x20: 0xa00000000352e363 x21: 0x0000000156505ea0 x22: 0x00000001000b7e00 x23: 0x00000001000b6000 
    x24: 0x0000000156548400 x25: 0x0000000100321600 x26: 0x0000000100321600 x27: 0x0000000100321600 
    x28: 0xa00000000352e363 fp: 0x000000016fdd9df0 lr: 0x00000001000366ac 
    sp: 0x000000016fdd9d90 pc: 0x0000000100036910 cpsr: 0x60000000 
+0

異常類型:EXC_BREAKPOINT(SIGTRAP)這是您所遇到的異常。通過這篇文章看看:http://stackoverflow.com/questions/2611607/are-exc-breakpoint-sigtrap-exceptions-caused-by-debugging-breakpoints –

+2

你需要完全符號化崩潰報告。堆棧跟蹤的前三行是指向您的應用程序代碼的那些代碼,並且它們沒有符號化。 – dan

回答

1

這些線是你的崩潰:

Thread 0 name: Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 MyApp       0x0000000100036910 0x100024000 + 76048 
1 MyApp       0x00000001000300a0 0x100024000 + 49312 
2 MyApp       0x0000000100030198 0x100024000 + 49560 

的問題是,你的崩潰日誌未symbolicated。您可以使用在構建要提交的存檔時創建的DSYM文件重新進行符號化。如果此DSYM位於Spotlight搜索路徑中,則可以在管理器或設備窗口(將該故障拖放到設備上)或命令行上重新表示符號。

關於Stack Overflow,討論命令行符號碼here

+0

我的Spotlight搜索路徑中的DSYM是解決方案。 –

2

形式蘋果文檔:

跟蹤陷阱[EXC_BREAKPOINT // SIGTRAP]

到異常退出類似,這個例外是爲了給一個 調試器附着在一箇中斷過程的機會具體的 指向它的執行。您可以使用__builtin_trap()函數從您自己的 代碼中觸發此異常。如果沒有附加調試器,則該過程終止並生成崩潰報告。

SWIFT代碼將終止該程序與此異常的類型,如果它 在運行時檢測到的意外情況,例如:

非可選的類型具有零值的變換 失敗強制式看的回溯崩潰的線程來確定遇到意外情況的位置。附加信息可能有 也被記錄到設備的控制檯。

水稻源:https://developer.apple.com/library/ios/technotes/tn2151/_index.html

希望這會幫助你。