0

由于某种原因,我无法表示从 iTunes Connect 收到的崩溃日志,因为我的应用程序因崩溃而被拒绝。

我尝试了以下方法:

  • 运行 mdimport 。在档案文件夹中
  • 安装的命令行工具
  • 多次删除崩溃日志并将其导入设备日志

运行dwarfdump --uuid Savea\ Booking.app/Savea\ Booking返回:

  • UUID:9398CB03-BC2B-3A0A-8516-DE300ADCBE74 (armv7) Savea Booking.app/Savea Booking
  • UUID:FD2EA5F8-23AC-3483-8A48-3BDAA92A062E (armv7s) Savea Booking.app/Savea Booking

运行dwarfdump --uuid Savea\ Booking.app.dSYM返回:

  • UUID:9398CB03-BC2B-3A0A-8516-DE300ADCBE74 (armv7) Savea Booking.app.dSYM/Contents/Resources/DWARF/Savea Booking
  • UUID:FD2EA5F8-23AC-3483-8A48-3BDAA92A062E (armv7s) Savea Booking.app.dSYM/Contents/Resources/DWARF/Savea Booking

我可以使用以下命令找到 .xarchive 文件:mdfind "com_apple_xcode_dsym_uuids == 9398CB03-BC2B-3A0A-8516-DE300ADCBE74"

遵循教程并没有象征我的崩溃日志

对我有用。但我真的很想让它在 Xcode 中工作,这样我就不必每次都这样做。

链接到我的 .crash 和 .dSYM 文件

4

1 回答 1

1

符号化不起作用,因为您的可执行文件名称中有一个空格。OS X 辅助工具otool不喜欢这样,符号化工作需要它。确保您的可执行文件名称在您的下一个应用程序版本中没有任何特殊字符。

发生崩溃是因为您的故事板无法加载所需的 nib 文件。很可能是因为文件不存在(不太可能)或被错误的文件名引用(可能)。请记住,设备文件系统是区分大小写的,而 OS X 默认是不区分大小写的!

我附上了符号化的崩溃(使用我自己的私有符号化工具链和脚本):

Incident Identifier: C4E1902B-29C7-4C79-BBD9-289B36D651AB
CrashReporter Key:   ffec59eac2b6b66dc18256d1f171056ad500f27e
Hardware Model:      xxx
Process:             Savea Booking [2937]
Path:                /var/mobile/Applications/DB85F472-98E7-40D4-B9FB-0D9AEA96967D/Savea Booking.app/Savea Booking
Identifier:          se.savea.booking
Version:             1.12 (1.12)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2013-10-10 12:07:34.262 -0700
OS Version:          iOS 7.0.2 (11A501)
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x30ec8f4e __exceptionPreprocess + 126
1   libobjc.A.dylib                 0x3b6d76aa objc_exception_throw + 34
2   UIKit                           0x33ae3d3c +[UIStoryboard storyboardWithName:bundle:] + 624
3   UIKit                           0x338b2b44 -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 40
4   UIKit                           0x336a4c20 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 472
5   UIKit                           0x3363f6a2 -[UIApplication handleEvent:withNewEvent:] + 3126
6   UIKit                           0x3363e9a4 -[UIApplication sendEvent:] + 68
7   UIKit                           0x336a44f8 _UIApplicationHandleEvent + 660
8   GraphicsServices                0x35af8708 _PurpleEventCallback + 604
9   GraphicsServices                0x35af82f2 PurpleEventCallback + 30
10  CoreFoundation                  0x30e939e2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30
11  CoreFoundation                  0x30e9397e __CFRunLoopDoSource1 + 342
12  CoreFoundation                  0x30e92152 __CFRunLoopRun + 1394
13  CoreFoundation                  0x30dfcce2 0x30df5000 + 31970
14  CoreFoundation                  0x30dfcac6 CFRunLoopRunInMode + 102
15  UIKit                           0x336a3794 -[UIApplication _run] + 756
16  UIKit                           0x3369ea3c UIApplicationMain + 1132
17  Savea Booking                   0x34562 main (main.m:16)

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x3bc961fc __pthread_kill + 8
1   libsystem_pthread.dylib         0x3bcffa2e pthread_kill + 54
2   libsystem_c.dylib               0x3bc46ff8 abort + 72
3   libc++abi.dylib                 0x3af75cd2 abort_message + 70
4   libc++abi.dylib                 0x3af8e6e0 default_terminate_handler() + 248
5   libobjc.A.dylib                 0x3b6d791e _objc_terminate() + 190
6   libc++abi.dylib                 0x3af8c1c4 std::__terminate(void (*)()) + 76
7   libc++abi.dylib                 0x3af8bd28 __cxa_rethrow + 96
8   libobjc.A.dylib                 0x3b6d77f2 objc_exception_rethrow + 38
9   CoreFoundation                  0x30dfcd58 CFRunLoopRunSpecific + 636
10  CoreFoundation                  0x30dfcac6 CFRunLoopRunInMode + 102
11  UIKit                           0x336a3794 -[UIApplication _run] + 756
12  UIKit                           0x3369ea3c UIApplicationMain + 1132
13  Savea Booking                   0x00034562 main (main.m:16)
14  libdyld.dylib                   0x3bbdfab4 start + 0

Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0   libsystem_kernel.dylib          0x3bc8383c kevent64 + 24
1   libdispatch.dylib               0x3bbc4220 _dispatch_mgr_invoke + 228
2   libdispatch.dylib               0x3bbc3fa6 _dispatch_mgr_thread$VARIANT$mp + 34

Thread 2:
0   libsystem_kernel.dylib          0x3bc96c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x3bcfcdc6 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x3bcfcc80 start_wqthread + 4

Thread 3 name:  WebThread
Thread 3:
0   libsystem_kernel.dylib          0x3bc83a8c mach_msg_trap + 20
1   libsystem_kernel.dylib          0x3bc83888 mach_msg + 44
2   CoreFoundation                  0x30e937c6 __CFRunLoopServiceMachPort + 150
3   CoreFoundation                  0x30e91eec __CFRunLoopRun + 780
4   CoreFoundation                  0x30dfcce2 CFRunLoopRunSpecific + 518
5   CoreFoundation                  0x30dfcac6 CFRunLoopRunInMode + 102
6   WebCore                         0x38f7fbae RunWebThread(void*) + 414
7   libsystem_pthread.dylib         0x3bcfec1a _pthread_body + 138
8   libsystem_pthread.dylib         0x3bcfeb8a _pthread_start + 98
9   libsystem_pthread.dylib         0x3bcfcc8c thread_start + 4

Thread 4:
0   libsystem_kernel.dylib          0x3bc96c7c __workq_kernreturn + 8
1   libsystem_pthread.dylib         0x3bcfcdc6 _pthread_wqthread + 306
2   libsystem_pthread.dylib         0x3bcfcc80 start_wqthread + 4

Thread 0 crashed with ARM Thread State (32-bit):
    r0: 0x00000000    r1: 0x00000000      r2: 0x00000000      r3: 0x00002060
    r4: 0x00000006    r5: 0x3db5c18c      r6: 0x00000000      r7: 0x27dce584
    r8: 0x16ea1160    r9: 0x00000001     r10: 0x33c234fb     r11: 0x16d94d40
    ip: 0x00000148    sp: 0x27dce578      lr: 0x3bcffa33      pc: 0x3bc961fc
  cpsr: 0x00000010
于 2013-10-15T15:14:55.003 回答