5

当我在设备上启动我的应用程序时,屏幕变黑并且应用程序崩溃。但是屏幕仍然是黑色的,而不是典型的崩溃,您被带回跳板。这是我的崩溃错误:

Incident Identifier: 28A191D0-5795-4EEA-81EB-5C12628A47B0
CrashReporter Key:   9185dbd80ba3cc9fed14413529e4c277f99bca98
Hardware Model:      iPod4,1
Process:         Dixie Mat Tracker [11536]
Path:            /var/mobile/Applications/A170FE48-8FCE-4C47-B69C-0F048C50281C/Dixie Mat Tracker.app/Dixie Mat Tracker
Identifier:      Dixie Mat Tracker
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2011-07-06 17:04:21.131 -0400
OS Version:      iPhone OS 4.3.3 (8J2)
Report Version:  104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread:  0

Thread 0 Crashed:
0   dyld                            0x2fe0124a dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*) + 446
1   dyld                            0x2fe01058 _dyld_start + 48

Thread 0 crashed with ARM Thread State:
    r0: 0x00000000    r1: 0x00000009      r2: 0x00000009      r3: 0x00026000
    r4: 0x0002601c    r5: 0x00000000      r6: 0x00000005      r7: 0x2fe24a38
    r8: 0x2fe4b18c    r9: 0x2fe72964     r10: 0x2fe254f4     r11: 0x00025000
    ip: 0x2fe72984    sp: 0x2fe249f0      lr: 0x2fe249cc      pc: 0x2fe2624a
  cpsr: 0x60000030

Binary Images:
0x2fe25000 - 0x2fe4afff  dyld armv7  <bb9bfc7d242331d29a79adf7ef7aaa18> /usr/lib/dyld
4

1 回答 1

1

我在 Xcode 4.2 中升级到 LLVM 编译器时遇到了这个问题。有问题的配置选项位于“其他链接器标志”中。我基本上删除了其中的所有内容:

-weak_library /usr/lib/libSystem.B.dylib -all_load

一旦我删除了这些选项,我就能够再次在模拟器上运行应用程序,而不会dyldbootstrap::start崩溃。

于 2012-01-21T03:59:22.603 回答