Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 应用程序崩溃,然后进入锁定屏幕_Ios_Crash - Fatal编程技术网

Ios 应用程序崩溃,然后进入锁定屏幕

Ios 应用程序崩溃,然后进入锁定屏幕,ios,crash,Ios,Crash,我正在开发我的应用程序,在设备上测试时,它开始出现问题。它在iphone模拟器中运行良好,但在设备上测试时崩溃。启动时,它会显示启动屏幕图像,但随后会显示一个工作图标,该图标位于中心,并返回到锁定屏幕。我不认为这是内存使用,但五分之一的尝试将输出一级内存警告。任何想法或帮助 我已经尝试了我能想到的一切。我已多次重新启动设备。多次重新启动xcode。多次删除该应用程序。它在模拟器上工作。该应用在开发过程中的这一周工作正常,但现在它甚至无法正常启动 以下是调试代码: _italic_ **bold*

我正在开发我的应用程序,在设备上测试时,它开始出现问题。它在iphone模拟器中运行良好,但在设备上测试时崩溃。启动时,它会显示启动屏幕图像,但随后会显示一个工作图标,该图标位于中心,并返回到锁定屏幕。我不认为这是内存使用,但五分之一的尝试将输出一级内存警告。任何想法或帮助


我已经尝试了我能想到的一切。我已多次重新启动设备。多次重新启动xcode。多次删除该应用程序。它在模拟器上工作。该应用在开发过程中的这一周工作正常,但现在它甚至无法正常启动

以下是调试代码:

_italic_ **bold** `
Re-enabling shared library breakpoint 1
0 gdb-arm-apple-darwin 0x000000010015cbc7 remote_backtrace_self + 46
1 gdb-arm-apple-darwin 0x000000010015f991 putpkt_binary + 376
2 gdb-arm-apple-darwin 0x00000001001621e1 remote_insert_breakpoint + 278
gdb stack trace at 'putpkt: write failed':
recent remote packets prior to 'putpkt: write failed':
Recvd: [1310445654.317:1591] OK
Sent: [1310445654.317:1591] Z0,3018fd1c,4
Recvd: [1310445654.321:1591] OK
Sent: [1310445654.321:1591] s
3 gdb-arm-apple-darwin 0x0000000100023f25 insert_breakpoints + 580
4 gdb-arm-apple-darwin 0x000000010006670b proceed + 587
5 gdb-arm-apple-darwin 0x000000010005edc7 step_1 + 2657
6 gdb-arm-apple-darwin 0x0000000100107b7f execute_command + 557
7 gdb-arm-apple-darwin 0x00000001000171e7 mi_execute_async_cli_command + 204
8 gdb-arm-apple-darwin 0x00000001000168e5 captured_mi_execute_command + 344
9 gdb-arm-apple-darwin 0x0000000100072a62 catch_exception + 57
10 gdb-arm-apple-darwin 0x000000010001443e mi_execute_command + 140
11 gdb-arm-apple-darwin 0x0000000100077721 process_event + 133
12 gdb-arm-apple-darwin 0x0000000100078435 gdb_do_one_event + 1049
13 gdb-arm-apple-darwin 0x0000000100072b49 catch_errors + 70
14 gdb-arm-apple-darwin 0x0000000100077be3 start_event_loop + 60
15 gdb-arm-apple-darwin 0x0000000100074c06 captured_command_loop + 9
16 gdb-arm-apple-darwin 0x0000000100072b49 catch_errors + 70
17 gdb-arm-apple-darwin 0x0000000100074bfb captured_main + 4949
18 gdb-arm-apple-darwin 0x0000000100072b49 catch_errors + 70
19 gdb-arm-apple-darwin 0x000000010007389f gdb_main + 43
20 gdb-arm-apple-darwin 0x0000000100000b45 main + 61
21 gdb-arm-apple-darwin 0x0000000100000b00 start + 52
22 ??? 0x0000000000000005 0x0 + 5
Recvd: [1310445654.327:1591] T05metype:6;mecount:2;medata:102;medata:33866b58;t hread:2d03;pc:33866b5c;00:04000000;01:00000000;02: 00000000;03:01000000;04:d09f1100;05:10c21100;06:01 000000;07:14dedf2f;08:00000000;09:10f41300;0a:0100 0000;0b:03000000;0c:64b91a3e;0d:e4dddf2f;0e:77f0c9 32;0f:5c6b8633;19:10000060;
Sent: [1310445654.327:1591] m2fdfde00,40
Recvd: [1310445654.331:1591] 10c211000000000007ccb34194f81100144f403ec4dedf2fe4 02823303000000000000000100000078dedf2f78dedf2f78de df2f58f811000000000060dedf2f
Sent: [1310445654.331:1591] z0,1b69a,2
Recvd: [1310445654.334:1591] OK
Sent: [1310445654.334:1591] z0,2fe01088,4
Recvd: [1310445654.337:1591] OK
Sent: [1310445654.337:1591] z0,3018fd1c,4
Recvd: [1310445654.340:1591] OK
Sent: [1310445654.341:1592] T00003203
Recvd: [1310445654.343:1592] OK
Sent: [1310445654.344:1592] T00003003
Recvd: [1310445654.346:1592] OK
Sent: [1310445654.346:1592] T00002d03
Recvd: [1310445654.348:1592] OK
Sent: [1310445654.348:1592] qfThreadInfo
Recvd: [1310445654.351:1592] m2d03,3003,3203
Sent: [1310445654.351:1592] qsThreadInfo
Recvd: [1310445654.353:1592] l
Sent: [1310445654.355:0] T00002d03
Recvd: [1310445654.357:0] OK
Sent: [1310445654.357:1593] m2fdfdec0,40
Recvd: [1310445654.360:1593] 10c211004cdfdf2f1cfb813320e13f3e0987c233e49c023ea4 98023e000000000987c23320e13f3e1f00000010fa110018df df2f484a18300000000010fa1100
Sent: [1310445654.360:1593] m2fdfdf40,40
Recvd: [1310445654.363:1593] 104f403e4ce2df2f50f8110030e2df2fb4f38133f0b9110060 bb11005821913e10b9110050f811007cdfdf2fd9b9e6355821 913e06000000170000002cdfdf2f
Sent: [1310445654.364:1593] m2fdfe200,40
Recvd: [1310445654.367:1593] 033c0000033c00000000000000000000000000000000000068 bb11004ce2df2f34c1813e000000004ce2df2f50f811006ce6 df2f882c2635033c000000000000
Sent: [1310445654.367:1593] m2fdfe640,40
Recvd: [1310445654.371:1593] 88e6df2f00c01100033c0000882b0002882b000168bb110084 55923e8255923e7028263500f3df2f982f11007ce6df2fcba5 e9357cbf110070bf1100a4e6df2f
Sent: [1310445654.371:1593] m2fdfe680,40
Recvd: [1310445654.374:1593] 89a5e935033c000000e7df2f60bb1100010000000000000003 3c000068bb1100902f110020f3df2f35c8e835f400000000f3 df2f000000000000000000000000
Sent: [1310445654.374:1593] m2fdff300,40
Recvd: [1310445654.377:1593] 0000000000e7df2f10ac813e000000000000000010ac813e00 00000000000000f4f3df2f0bc5e8350100000000000000030e 000000000000ffffffff01000000
Sent: [1310445654.378:1593] m2fdff3c0,40
Recvd: [1310445654.381:1593] 00000000000000000000000000000000000000000000000000 00000010ac813e0000000000000000ffffffffffffef7f0100 000010f4df2f19c4e83501000000
Sent: [1310445654.381:1593] m2fdff400,40
Recvd: [1310445654.384:1593] 9cf4df2fccb8393e10c211002032110030f4df2f5455863300 0000008c3f183010c2110020e13f3e5f7bc2330100000078f4 df2f582586330000000000000000
Sent: [1310445654.385:1593] m2fdff440,40
Recvd: [1310445654.388:1593] 94f4df2f20e13f3e00000000000000000000000000000000e0 2e11000000d63294f4df2f0000000000000000000000000000 00000000000090f4df2f89220000
Sent: [1310445655.086:1596] Z0,1b69a,2
Recvd: [1310445655.090:1596] OK
Sent: [1310445655.090:1596] Z0,2fe01088,4
Recvd: [1310445655.093:1596] OK
Sent: [1310445655.093:1596] Z0,3018fd1c,4
Recvd: [1310445655.097:1596] OK
Sent: [1310445655.097:1596] s
Recvd: [1310445655.103:1596] T05metype:6;mecount:2;medata:102;medata:33866b58;t hread:2d03;pc:33835ee8;00:04000000;01:00000000;02: 00000000;03:01000000;04:d09f1100;05:10c21100;06:01 000000;07:14dedf2f;08:00000000;09:10f41300;0a:0100 0000;0b:03000000;0c:64b91a3e;0d:e4dddf2f;0e:606b86 33;0f:e85e8333;19:10000060;
Sent: [1310445655.103:1596] Z0,33866b60,4
Recvd: [1310445655.107:1596] OK
Sent: [1310445655.107:1596] c
Recvd: [1310445655.114:1596] `

如前所述,包括崩溃日志在内的一些代码可能会有所帮助。首先发布您的
applicationdFinishLaunching
code。你的应用程序在启动时做什么?需要很长时间才能恢复/崩溃吗?你是否关闭并再次打开它?你是指主屏幕吗?锁屏将是一个不同的问题。我们将需要看到一些代码来帮助你。我已经尝试了我能想到的一切。我已多次重新启动设备。多次重新启动xcode。多次删除该应用程序。它在模拟器上工作。该应用在开发过程中的这一周工作正常,但现在甚至无法正常启动。