在使用EFQRCode时,在真机器iPhone X以上机型中:CIFilter(name: "CIQRCodeGenerator") 方法会崩溃,在真机器iPhone X以下,及iPhone 8 等,系统版本均为iOS13.1.3最新的,方法会无缘无故崩溃掉.在真机器iPhone X以下,即iPhone 8 等正常.手机版本均为iOS13.1.3
以下是错误日志:
CloudPhotographyPK`perform_rebinding_with_section:
0x100870508 <+0>: sub sp, sp, #0x80 ; =0x80
0x10087050c <+4>: stp x28, x27, [sp, #0x20]
0x100870510 <+8>: stp x26, x25, [sp, #0x30]
0x100870514 <+12>: stp x24, x23, [sp, #0x40]
0x100870518 <+16>: stp x22, x21, [sp, #0x50]
0x10087051c <+20>: stp x20, x19, [sp, #0x60]
0x100870520 <+24>: stp x29, x30, [sp, #0x70]
0x100870524 <+28>: add x29, sp, #0x70 ; =0x70
0x100870528 <+32>: stp x3, x4, [sp, #0x8]
0x10087052c <+36>: mov x21, x1
0x100870530 <+40>: str x0, [sp, #0x18]
0x100870534 <+44>: ldr x8, [x21, #0x28]
0x100870538 <+48>: cmp x8, #0x8 ; =0x8
0x10087053c <+52>: b.lo 0x100870644 ; <+316> at BTGFishhook.c:114
0x100870540 <+56>: mov x24, #0x0
0x100870544 <+60>: ldr w8, [x21, #0x44]
0x100870548 <+64>: add x25, x5, x8, lsl #2
0x10087054c <+68>: ldr x8, [x21, #0x20]
0x100870550 <+72>: add x8, x8, x2
0x100870554 <+76>: str x8, [sp]
0x100870558 <+80>: orr w19, wzr, #0x18
0x10087055c <+84>: ldr w8, [x25, x24, lsl #2]
0x100870560 <+88>: orr w9, wzr, #0x80000000
0x100870564 <+92>: cmp w8, w9
0x100870568 <+96>: orr w9, wzr, #0xc0000000
0x10087056c <+100>: ccmp w8, w9, #0x4, ne
0x100870570 <+104>: orr w9, wzr, #0x40000000
0x100870574 <+108>: ccmp w8, w9, #0x4, ne
0x100870578 <+112>: b.eq 0x100870634 ; <+300> at BTGFishhook.c:87
0x10087057c <+116>: lsl x8, x8, #4
0x100870580 <+120>: ldr x9, [sp, #0x8]
0x100870584 <+124>: ldr w8, [x9, x8]
0x100870588 <+128>: ldr x9, [sp, #0x10]
0x10087058c <+132>: add x23, x9, x8
0x100870590 <+136>: orr w1, wzr, #0x2
0x100870594 <+140>: mov x0, x23
0x100870598 <+144>: bl 0x100952804 ; symbol stub for: strnlen
0x10087059c <+148>: cmp x0, #0x2 ; =0x2
0x1008705a0 <+152>: ldr x8, [sp, #0x18]
0x1008705a4 <+156>: ccmp x8, #0x0, #0x4, hs
0x1008705a8 <+160>: b.eq 0x100870634 ; <+300> at BTGFishhook.c:87
0x1008705ac <+164>: add x23, x23, #0x1 ; =0x1
0x1008705b0 <+168>: ldr x22, [sp, #0x18]
0x1008705b4 <+172>: ldr x26, [x22, #0x8]
0x1008705b8 <+176>: cbz x26, 0x1008705ec ; <+228> at BTGFishhook.c:110
0x1008705bc <+180>: mov x27, #0x0
0x1008705c0 <+184>: ldr x28, [x22]
0x1008705c4 <+188>: orr w20, wzr, #0x1
0x1008705c8 <+192>: mul x8, x27, x19
0x1008705cc <+196>: ldr x1, [x28, x8]
0x1008705d0 <+200>: mov x0, x23
0x1008705d4 <+204>: bl 0x1009527a4 ; symbol stub for: strcmp
0x1008705d8 <+208>: cbz w0, 0x1008705f8 ; <+240> at BTGFishhook.c:102
0x1008705dc <+212>: mov w27, w20
0x1008705e0 <+216>: add w20, w20, #0x1 ; =0x1
0x1008705e4 <+220>: cmp x27, x26
0x1008705e8 <+224>: b.lo 0x1008705c8 ; <+192> at BTGFishhook.c:101
0x1008705ec <+228>: ldr x22, [x22, #0x10]
0x1008705f0 <+232>: cbnz x22, 0x1008705b4 ; <+172> at BTGFishhook.c:100
0x1008705f4 <+236>: b 0x100870634 ; <+300> at BTGFishhook.c:87
0x1008705f8 <+240>: madd x8, x27, x19, x28
0x1008705fc <+244>: ldr x8, [x8, #0x10]
0x100870600 <+248>: cbz x8, 0x100870624 ; <+284> at BTGFishhook.c:106
0x100870604 <+252>: ldr x9, [sp]
0x100870608 <+256>: ldr x9, [x9, x24, lsl #3]
0x10087060c <+260>: madd x10, x27, x19, x28
0x100870610 <+264>: ldr x10, [x10, #0x8]
0x100870614 <+268>: cmp x9, x10
0x100870618 <+272>: b.eq 0x100870624 ; <+284> at BTGFishhook.c:106
0x10087061c <+276>: str x9, [x8]
0x100870620 <+280>: ldr x28, [x22]
0x100870624 <+284>: madd x8, x27, x19, x28
0x100870628 <+288>: ldr x8, [x8, #0x8]
0x10087062c <+292>: ldr x9, [sp]
-> 0x100870630 <+296>: str x8, [x9, x24, lsl #3]
0x100870634 <+300>: add w24, w24, #0x1 ; =0x1
0x100870638 <+304>: ldr x8, [x21, #0x28]
0x10087063c <+308>: cmp x24, x8, lsr #3
0x100870640 <+312>: b.lo 0x10087055c ; <+84> at BTGFishhook.c:88
0x100870644 <+316>: ldp x29, x30, [sp, #0x70]
0x100870648 <+320>: ldp x20, x19, [sp, #0x60]
0x10087064c <+324>: ldp x22, x21, [sp, #0x50]
0x100870650 <+328>: ldp x24, x23, [sp, #0x40]
0x100870654 <+332>: ldp x26, x25, [sp, #0x30]
0x100870658 <+336>: ldp x28, x27, [sp, #0x20]
0x10087065c <+340>: add sp, sp, #0x80 ; =0x80
0x100870660 <+344>: ret
在-> 0x100870630 <+296>: str x8, [x9, x24, lsl #3]处崩溃.我这次用的是iPhone Xr,iOS版本:13.1.3,Xcode版本:10.1
经过大牛的一些分析是:fishhook的问题,不过也并未给出完美的解决方案.
请知道的大牛留言相助...