分析:推測是連接到二進制庫libc++的時候除了問題,應該不是代碼的緣由,多是配置相關的緣由.c++
iPhone8 12.1.1 Xcode10.1bash
UIKitCore`UIApplicationMain:
0x1ea75b3ec <+0>: stp x24, x23, [sp, #-0x40]!
0x1ea75b3f0 <+4>: stp x22, x21, [sp, #0x10]
0x1ea75b3f4 <+8>: stp x20, x19, [sp, #0x20]
0x1ea75b3f8 <+12>: stp x29, x30, [sp, #0x30]
0x1ea75b3fc <+16>: add x29, sp, #0x30 ; =0x30
0x1ea75b400 <+20>: mov x20, x3
0x1ea75b404 <+24>: mov x21, x1
0x1ea75b408 <+28>: mov x22, x0
0x1ea75b40c <+32>: mov x0, x2
0x1ea75b410 <+36>: bl 0x1eac95f40 ; symbol stub for: -[UIDocumentSharingController _remoteViewController]
0x1ea75b414 <+40>: mov x19, x0
0x1ea75b418 <+44>: mov x0, x20
0x1ea75b41c <+48>: bl 0x1eac95f40 ; symbol stub for: -[UIDocumentSharingController _remoteViewController]
0x1ea75b420 <+52>: mov x20, x0
0x1ea75b424 <+56>: mov w0, #0x168
0x1ea75b428 <+60>: movk w0, #0x2b87, lsl #16
0x1ea75b42c <+64>: mov w1, #0x32
0x1ea75b430 <+68>: mov x2, #0x0
0x1ea75b434 <+72>: mov x3, #0x0
0x1ea75b438 <+76>: mov x4, #0x0
0x1ea75b43c <+80>: bl 0x1eac95b74 ; symbol stub for: -[UICloudSharingController _performHeaderActionWithCompletion:]
0x1ea75b440 <+84>: orr w0, wzr, #0x3
0x1ea75b444 <+88>: orr w1, wzr, #0x3
0x1ea75b448 <+92>: mov x2, #-0x1
0x1ea75b44c <+96>: orr x4, xzr, #0x8000000000000000
0x1ea75b450 <+100>: mov w3, #0x0
0x1ea75b454 <+104>: bl 0x1eac959a0 ; symbol stub for: -[UIWebView _setGapBetweenPages:]
0x1ea75b458 <+108>: adrp x23, 52284
0x1ea75b45c <+112>: ldr w8, [x23, #0xa2c]
0x1ea75b460 <+116>: cbz w8, 0x1ea75b4e8 ; <+252>
0x1ea75b464 <+120>: lsr w8, w8, #8
0x1ea75b468 <+124>: cmp w8, #0x201 ; =0x201
0x1ea75b46c <+128>: b.lo 0x1ea75b498 ; <+172>
0x1ea75b470 <+132>: bl 0x1eac95e20 ; symbol stub for: -[_UICloudSharingActivity _cloudShareControllerDidDismiss:]
0x1ea75b474 <+136>: mov x23, x0
0x1ea75b478 <+140>: mov x0, x22
0x1ea75b47c <+144>: mov x1, x21
0x1ea75b480 <+148>: mov x2, x19
0x1ea75b484 <+152>: mov x3, x20
0x1ea75b488 <+156>: bl 0x1ea75b518 ; _UIApplicationMainPreparations
0x1ea75b48c <+160>: mov x0, x23
0x1ea75b490 <+164>: bl 0x1eac95e14 ; symbol stub for: -[_UICloudSharingActivity performActivity]
0x1ea75b494 <+168>: b 0x1ea75b4ac ; <+192>
0x1ea75b498 <+172>: mov x0, x22
0x1ea75b49c <+176>: mov x1, x21
0x1ea75b4a0 <+180>: mov x2, x19
0x1ea75b4a4 <+184>: mov x3, x20
0x1ea75b4a8 <+188>: bl 0x1ea75b518 ; _UIApplicationMainPreparations
0x1ea75b4ac <+192>: adrp x8, 52284
0x1ea75b4b0 <+196>: ldr x0, [x8, #0x9f0]
0x1ea75b4b4 <+200>: adrp x8, 1594
0x1ea75b4b8 <+204>: add x1, x8, #0x787 ; =0x787
0x1ea75b4bc <+208>: bl 0x1eac95f04 ; symbol stub for: __copy_helper_block_.84
0x1ea75b4c0 <+212>: mov x0, x20
//Thread 1: signal SIGABRT
複製代碼
在stackoverflow檢索到如出一轍的問題ui
還沒有嘗試上述解決方法,從新運行項目,crash再也不復現,等下次出現的時候再看是何緣由.google