这款手机是iPhone 4,不支持iOS 8.该应用程序兼容iOS 7,之前版本的应用程序在iPhone 4上运行。
我可以在iPhone 4上安装它,但是一旦我登录应用程序,它就会崩溃。这是崩溃报告的副本:
Incident Identifier: 7083D8D9-A834-49D2-9BAE-740C4381B1ED
CrashReporter Key: 31b0b47127ebc15ed8ec25b14f923e5fb96fada5
Hardware Model: iPhone3,1
Process: [1081]
Path: /var/mobile/Applications/BDB720EA-C2C8-427A- BC3B-29B4A7679D1E/
Identifier: ApnApp
Version: 14.5 (14.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-05-01 09:18:04.436 +1000
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 0
Application Specific Information:
[1081] has active assertions beyond permitted time:
{(
<BKProcessAssertion: 0x145d4bf0> identifier: Suspending process: [1081] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:28 preventSuspend preventThrottleDownCPU preventThrottleDownUI preventSuspendOnSleep
)}
Elapsed total CPU time (seconds): 1.410 (user 1.410, system 0.000), 28% CPU
Elapsed application CPU time (seconds): 0.005, 0% CPU
Thread 0:
0 libsystem_kernel.dylib 0x38c76aa8 0x38c76000 + 2728
1 lib.dylib 0x38bc1f74 0x38bad000 + 85876
2 CFNetwork 0x2dabc868 0x2daba000 + 10344
3 Foundation 0x2e8a851e 0x2e831000 + 488734
4 0x000eb6ea 0xe4000 + 30442
5 0x00109a9c 0xe4000 + 154268
6 UIKit 0x30949b04 0x30728000 + 2235140
7 UIKit 0x30949948 0x30728000 + 2234696
8 UIKit 0x3085103a 0x30728000 + 1216570
9 UIKit 0x30903352 0x30728000 + 1946450
10 UIKit 0x307b26d2 0x30728000 + 566994
11 UIKit 0x3072b536 0x30728000 + 13622
12 CoreFoundation 0x2dee1252 0x2de42000 + 651858
13 CoreFoundation 0x2dedebf4 0x2de42000 + 642036
14 CoreFoundation 0x2dedef36 0x2de42000 + 642870
15 CoreFoundation 0x2de49eba 0x2de42000 + 32442
16 CoreFoundation 0x2de49c9e 0x2de42000 + 31902
17 GraphicsServices 0x32d4f65e 0x32d46000 + 38494
18 UIKit 0x30796148 0x30728000 + 450888
19 0x000e8f66 0xe4000 + 20326
20 libdyld.dylib 0x38bd3ab4 0x38bd2000 + 6836
Thread 1:
0 libsystem_kernel.dylib 0x38c76808 0x38c76000 + 2056
1 lib.dylib 0x38bc2de8 0x38bad000 + 89576
2 lib.dylib 0x38bb1f6e 0x38bad000 + 20334
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x38c76a58 0x38c76000 + 2648
1 libsystem_kernel.dylib 0x38c76854 0x38c76000 + 2132
2 CoreFoundation 0x2dee0846 0x2de42000 + 649286
3 CoreFoundation 0x2dedef6c 0x2de42000 + 642924
4 CoreFoundation 0x2de49eba 0x2de42000 + 32442
5 CoreFoundation 0x2de49c9e 0x2de42000 + 31902
6 Foundation 0x2e88a082 0x2e831000 + 364674
7 Foundation 0x2e8ffa5a 0x2e831000 + 846426
8 libsystem_pthread.dylib 0x38cf2916 0x38cf0000 + 10518
9 libsystem_pthread.dylib 0x38cf2886 0x38cf0000 + 10374
10 libsystem_pthread.dylib 0x38cf0aa0 0x38cf0000 + 2720
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x38c89434 0x38c76000 + 78900
1 CoreFoundation 0x2dee4708 0x2de42000 + 665352
2 libsystem_pthread.dylib 0x38cf2916 0x38cf0000 + 10518
3 libsystem_pthread.dylib 0x38cf2886 0x38cf0000 + 10374
4 libsystem_pthread.dylib 0x38cf0aa0 0x38cf0000 + 2720
Thread 4 ......
No thread state (register information) available
崩溃的原因是什么?
答案 0 :(得分:0)
我认为它与长时间运行的任务有关,你不应该在app delegate中做同步事情或者首先屏幕你的app。它可能发生在慢速连接等(如果它的网络相关的工作。)尝试进行异步调用。由于长时间运行的任务,应用甚至无法启动。如果应用程序需要很长时间才能加载,ios会自动终止它。