我的iPad应用程序已被app store拒绝,因为它在启动应用程序时在Wi-Fi和蜂窝网络上都崩溃了。
这个错误是什么意思?
Application Specific Information:
com.selangorbn.FM failed to launch in time
以下是崩溃报告:
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-01-22 14:49:06.040 -0800
OS Version: iOS 6.0.1 (10A523)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
com.selangorbn.FM failed to launch in time
Elapsed total CPU time (seconds): 5.450 (user 5.450, system 0.000), 14% CPU
Elapsed application CPU time (seconds): 0.359, 1% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x306a7eb4 0x306a7000 + 3764
1 libsystem_kernel.dylib 0x306a8048 0x306a7000 + 4168
2 CoreFoundation 0x31763040 0x316cc000 + 618560
3 CoreFoundation 0x31761d9e 0x316cc000 + 613790
4 CoreFoundation 0x316d4eb8 0x316cc000 + 36536
5 CoreFoundation 0x316d4d44 0x316cc000 + 36164
6 CFNetwork 0x36a3943e 0x369e6000 + 341054
7 Foundation 0x37e069ba 0x37d31000 + 874938
8 SelangorbnFm 0x000fe2c2 0xfb000 + 12994
9 UIKit 0x374bd588 0x3749b000 + 140680
10 UIKit 0x374fdd6c 0x3749b000 + 404844
11 UIKit 0x374f9ae0 0x3749b000 + 387808
12 UIKit 0x3753b1c4 0x3749b000 + 655812
13 SelangorbnFm 0x000fd874 0xfb000 + 10356
14 UIKit 0x374feacc 0x3749b000 + 408268
15 UIKit 0x374fe656 0x3749b000 + 407126
16 UIKit 0x374f683e 0x3749b000 + 374846
17 UIKit 0x3749ec34 0x3749b000 + 15412
18 UIKit 0x3749e6c8 0x3749b000 + 14024
19 UIKit 0x3749e116 0x3749b000 + 12566
20 GraphicsServices 0x34c1a5a0 0x34c14000 + 26016
21 GraphicsServices 0x34c1a1ce 0x34c14000 + 25038
22 CoreFoundation 0x31763170 0x316cc000 + 618864
23 CoreFoundation 0x31763112 0x316cc000 + 618770
24 CoreFoundation 0x31761f94 0x316cc000 + 614292
25 CoreFoundation 0x316d4eb8 0x316cc000 + 36536
26 CoreFoundation 0x316d4d44 0x316cc000 + 36164
27 UIKit 0x374f5478 0x3749b000 + 369784
28 UIKit 0x374f22f4 0x3749b000 + 357108
29 SelangorbnFm 0x000fd35c 0xfb000 + 9052
30 SelangorbnFm 0x000fc7fc 0xfb000 + 6140
Thread 1:
0 libsystem_kernel.dylib 0x306b8d98 0x306a7000 + 73112
1 libsystem_c.dylib 0x383e6cf6 0x383e0000 + 27894
2 libsystem_c.dylib 0x383e6a12 0x383e0000 + 27154
3 libsystem_c.dylib 0x383e68a0 0x383e0000 + 26784
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x306a8648 0x306a7000 + 5704
1 libdispatch.dylib 0x397c4974 0x397bc000 + 35188
2 libdispatch.dylib 0x397c4654 0x397bc000 + 34388
Thread 3 name: WebThread
Thread 3:
0 libsystem_kernel.dylib 0x306a7eb4 0x306a7000 + 3764
1 libsystem_kernel.dylib 0x306a8048 0x306a7000 + 4168
2 CoreFoundation 0x31763040 0x316cc000 + 618560
3 CoreFoundation 0x31761d9e 0x316cc000 + 613790
4 CoreFoundation 0x316d4eb8 0x316cc000 + 36536
5 CoreFoundation 0x316d4d44 0x316cc000 + 36164
6 WebCore 0x32631a40 0x32627000 + 43584
7 libsystem_c.dylib 0x383f130e 0x383e0000 + 70414
8 libsystem_c.dylib 0x383f11d4 0x383e0000 + 70100
Thread 4:
0 libsystem_kernel.dylib 0x306b86a4 0x306a7000 + 71332
1 libsystem_c.dylib 0x383f63ce 0x383e0000 + 91086
2 Foundation 0x37d85458 0x37d31000 + 345176
3 SelangorbnFm 0x00114ef0 0xfb000 + 106224
4 Foundation 0x37de2678 0x37d31000 + 726648
5 libsystem_c.dylib 0x383f130e 0x383e0000 + 70414
6 libsystem_c.dylib 0x383f11d4 0x383e0000 + 70100
Thread 5 name: com.apple.NSURLConnectionLoader
Thread 5:
0 libsystem_kernel.dylib 0x306a7eb4 0x306a7000 + 3764
1 libsystem_kernel.dylib 0x306a8048 0x306a7000 + 4168
2 CoreFoundation 0x31763040 0x316cc000 + 618560
3 CoreFoundation 0x31761d9e 0x316cc000 + 613790
4 CoreFoundation 0x316d4eb8 0x316cc000 + 36536
5 CoreFoundation 0x316d4d44 0x316cc000 + 36164
6 Foundation 0x37d5ebc8 0x37d31000 + 187336
7 Foundation 0x37de2678 0x37d31000 + 726648
8 libsystem_c.dylib 0x383f130e 0x383e0000 + 70414
9 libsystem_c.dylib 0x383f11d4 0x383e0000 + 70100
Thread 6 name: com.apple.CFSocket.private
Thread 6:
0 libsystem_kernel.dylib 0x306b8594 0x306a7000 + 71060
1 CoreFoundation 0x317671f2 0x316cc000 + 635378
2 libsystem_c.dylib 0x383f130e 0x383e0000 + 70414
3 libsystem_c.dylib 0x383f11d4 0x383e0000 + 70100
Unknown thread crashed with unknown flavor: 5, state_count: 1
Binary Images:
0xfb000 - 0x126fff +SelangorbnFm armv7 <b7f595d0a6813ff49f1cf455a8d0db90> /var/mobile/Applications/509DADFE-E86D-4B3E-BD5F-E2B103E6FE5E/
答案 0 :(得分:2)
最佳应用程序快速启动,允许用户进行交互 尽快申请。提供优质的用户 经验,你应该定期评估和努力改善 申请的发布时间。如果必须做大量的工作 启动,考虑在辅助线程上执行该工作 视觉上指示活动。 http://developer.apple.com/library/ios/#qa/qa1592/_index.html
应用程序启动时间有一些时间限制。
你必须看AppDelegate.m
最有可能的是,在- (void)applicationDidFinishLaunching:(UIApplication *)application
方法中,您开始了很长时间的操作。例如:
AppDelegate.m
- (void)applicationDidFinishLaunching:(UIApplication *)application
{
...
[[SomeProvider sharedOnlineDataProvider] initializeEngine]; // << this may be very long
...
}
因此,您可以尝试使用
[[SomeProvider sharedOnlineDataProvider] performSelectorInBackground:@selector(initializeEngine) withObject:nil];
显然,initializeEngine
必须是线程安全的
答案 1 :(得分:0)
看起来你的应用程序需要很长时间。当您搜索例外类型时,您会发现:http://developer.apple.com/library/ios/#qa/qa1693/_index.html
你在AppDelegate didFinishLaunchingWithOptions中做了很多吗?如果是这样,那么在后台线程中执行此操作。
答案 2 :(得分:0)
我认为您需要将dSYM文件链接到崩溃日志,并找出导致此崩溃的原因。您可以参考this article来学习如何使用symbolicatecrash将崩溃日志更改回方法调用堆栈。