【发布时间】:2021-04-01 17:03:17
【问题描述】:
我有一个Nativescript-Angular 移动应用程序。它在模拟器上运行良好。但是一旦发布到 Apple 商店,它就可以在 iphone 7 等旧型号上运行,但不能在 iphone 10/11/12 上运行。 ios 版本都是14+所以我认为不是这个原因。
我从手机中提取了崩溃报告,它只有一些类似这样的错误消息。谁能给我一些想法或指出如何研究这个的正确方向?
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000000280b350
VM Region Info: 0x280b350 is not in any region. Bytes before following region: 4324461744
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 10442c000-104430000 [ 16K] r-x/r-x SM=COW ...e.app/LBELite
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [508]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000019ffbc658 0x19ffb7000 + 22104
1 libobjc.A.dylib 0x000000019ffbcf88 0x19ffb7000 + 24456
2 NativeScript 0x0000000104da4930 0x104d30000 + 477488
...
Thread 1 name: JavaScriptCore bmalloc scavenger
Thread 1:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 2:
0 libsystem_pthread.dylib 0x00000001d6a58764 0x1d6a4e000 + 42852
...
Thread 3 name: Heap Helper Thread
Thread 3:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 4 name: Heap Helper Thread
Thread 4:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 5 name: Heap Helper Thread
Thread 5:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 6 name: Heap Helper Thread
Thread 6:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 7 name: Heap Helper Thread
Thread 7:
0 libsystem_kernel.dylib 0x00000001b8ef41ac 0x1b8ecc000 + 164268
...
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000000280b348 x1: 0x0000000280b34b60 x2: 0x0000000000000000 x3: 0x0000000000000034
...
esr: 0x92000006 (Data Abort) byte read Translation fault
【问题讨论】:
标签: ios nativescript angular2-nativescript