iOS应用因发布时崩溃而被拒绝(无法重现)

时间:2015-06-01 19:26:31

标签: ios debugging crash

我试图为我的应用提交更新,但它被拒绝了。

他们说他们无法审核它,因为应用程序在发布时崩溃了。 即使在尝试构建adHoc版本并按照他们的建议通过iTunes安装后,我也无法重现此错误。

我已经使用设备和模拟器来尝试跟踪崩溃,但未成功。

我也研究过这个解决类似问题的线程: EXC_BAD_ACCESS (SIGSEGV)

由于我从第一个版本开始没有更改任何与发布有关的内容,我对此应用程序现在崩溃感到惊讶...

这是他们发给我的崩溃日志:

 Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000001aa000400
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001979b6964 0x19799c000 + 108900
1   AppName                         0x000000010022e2e0 0x10009c000 + 1647328
2   libsystem_platform.dylib        0x0000000197a4c958 0x197a48000 + 18776
3   AppName                         0x000000010013952c 0x10009c000 + 644396
4   AppName                         0x00000001001499d0 0x10009c000 + 711120
5   AppName                         0x0000000100138ac0 0x10009c000 + 641728
6   Foundation                      0x00000001869f417c 0x18690c000 + 950652
7   CoreFoundation                  0x0000000185ab8128 0x1859d8000 + 917800
8   CoreFoundation                  0x0000000185ab7dd8 0x1859d8000 + 916952
9   CoreFoundation                  0x0000000185ab5824 0x1859d8000 + 907300
10  CoreFoundation                  0x00000001859e12d0 0x1859d8000 + 37584
11  GraphicsServices                0x000000018f0cf6f8 0x18f0c4000 + 46840
12  UIKit                           0x000000018a5a6fa8 0x18a530000 + 487336
13  AppName                         0x00000001000e1934 0x10009c000 + 284980
14  libdyld.dylib                   0x000000019789ea04 0x19789c000 + 10756

Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0   libsystem_kernel.dylib          0x000000019799cc24 0x19799c000 + 3108
1   libdispatch.dylib               0x0000000197881e6c 0x197870000 + 73324
2   libdispatch.dylib               0x0000000197873998 0x197870000 + 14744

Thread 2:
0   libsystem_kernel.dylib          0x00000001979b7c78 0x19799c000 + 113784
1   libsystem_pthread.dylib         0x0000000197a512d8 0x197a50000 + 4824
2   libsystem_pthread.dylib         0x0000000197a50eec 0x197a50000 + 3820

Thread 3:
0   libsystem_kernel.dylib          0x00000001979b7c78 0x19799c000 + 113784
1   libsystem_pthread.dylib         0x0000000197a512d8 0x197a50000 + 4824
2   libsystem_pthread.dylib         0x0000000197a50eec 0x197a50000 + 3820

Thread 4:
0   libsystem_kernel.dylib          0x00000001979b7c78 0x19799c000 + 113784
1   libsystem_pthread.dylib         0x0000000197a512d8 0x197a50000 + 4824
2   libsystem_pthread.dylib         0x0000000197a50eec 0x197a50000 + 3820

Thread 5 name:  Dispatch queue: com.apple.networking.connection.0x134621340
Thread 5:
0   libsystem_kernel.dylib          0x00000001979b68d4 0x19799c000 + 108756
1   libsystem_kernel.dylib          0x00000001979a0dc8 0x19799c000 + 19912
2   libsystem_network.dylib         0x0000000197a29dbc 0x1979fc000 + 187836
3   libsystem_network.dylib         0x0000000197a1db78 0x1979fc000 + 138104
4   libsystem_network.dylib         0x0000000197a22880 0x1979fc000 + 157824
5   libdispatch.dylib               0x0000000197871950 0x197870000 + 6480
6   libdispatch.dylib               0x000000019788800c 0x197870000 + 98316
7   libdispatch.dylib               0x0000000197873ab8 0x197870000 + 15032
8   libdispatch.dylib               0x000000019787c2d0 0x197870000 + 49872
9   libdispatch.dylib               0x0000000197874a58 0x197870000 + 19032
10  libdispatch.dylib               0x000000019787e314 0x197870000 + 58132
11  libdispatch.dylib               0x000000019787fc48 0x197870000 + 64584
12  libsystem_pthread.dylib         0x0000000197a51228 0x197a50000 + 4648
13  libsystem_pthread.dylib         0x0000000197a50eec 0x197a50000 + 3820

1 个答案:

答案 0 :(得分:1)

将崩溃日志标记为符号。 (您可以使用Xcode执行此操作。)这将帮助您(和我们)查看方法名称,并帮助您跟踪有问题的代码行。