React iOS App crashes (Appgyver) while opening - ios

I've build this app from a no-code platform (appgyver) that I think is using react-native to build the ipa file.
The app crashes as soon as it opens, I retrive the logs from the TestFlight report.
I don't have access at the moment to a MacBook so I can't inspect from Xcode.
Someone can understand what could be the problem from the Exception Backtrace?
Hardware Model: iPhone12,1
Process: RNVApp [6395]
Path: /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
Identifier: ####
Version: 1.0.0 (1.0.0)
AppStoreTools: 13C90b
AppVariant: 1:iPhone12,1:15
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: #### [1754]
Date/Time: 2022-02-11 18:33:05.2037 +0100
Launch Time: 2022-02-11 18:33:04.1752 +0100
OS Version: iPhone OS 15.2.1 (19C63)
Release Type: User
Baseband Version: 3.01.02
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 5
Last Exception Backtrace:
0 CoreFoundation 0x181ccd0fc __exceptionPreprocess + 220 (NSException.m:200)
1 libobjc.A.dylib 0x19a507d64 objc_exception_throw + 60 (objc-exception.mm:565)
2 CoreFoundation 0x181dd6564 _CFThrowFormattedException + 116 (CFObject.m:2072)
3 CoreFoundation 0x181dd3c88 -[__NSPlaceholderArray initWithObjects:count:].cold.3 + 52 (NSPlaceholderArray.m:132)
4 CoreFoundation 0x181c55198 -[__NSPlaceholderArray initWithObjects:count:] + 252 (NSPlaceholderArray.m:132)
5 CoreFoundation 0x181c81204 +[NSArray arrayWithObjects:count:] + 48 (NSArray.m:896)
6 DynamicFonts 0x1024c6d38 -[DynamicFonts loadFontWithData:callback:] + 204 (DynamicFonts.m:25)
7 DynamicFonts 0x1024c7358 -[DynamicFonts loadFont:callback:] + 1200 (DynamicFonts.m:93)
8 CoreFoundation 0x181c563a4 __invoking___ + 148
9 CoreFoundation 0x181c73b74 -[NSInvocation invoke] + 468 (NSForwarding.m:3378)
10 CoreFoundation 0x181caa9d4 -[NSInvocation invokeWithTarget:] + 80 (NSForwarding.m:3475)
11 React 0x1028c75c0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
12 React 0x1028c9730 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
13 React 0x1028c94a0 operator() + 44 (RCTNativeModule.mm:75)
14 React 0x1028c94a0 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:67)
15 libdispatch.dylib 0x18193d924 _dispatch_call_block_and_release + 32 (init.c:1517)
16 libdispatch.dylib 0x18193f670 _dispatch_client_callout + 20 (object.m:560)
17 libdispatch.dylib 0x181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
18 libdispatch.dylib 0x181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
19 libdispatch.dylib 0x1819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
20 libsystem_pthread.dylib 0x1f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
21 libsystem_pthread.dylib 0x1f26a2e94 start_wqthread + 8
...
Thread 5 name:
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001b9207964 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001f26a9378 pthread_kill + 268 (pthread.c:1668)
2 libsystem_c.dylib 0x000000018cb90f50 abort + 164 (abort.c:118)
3 libc++abi.dylib 0x000000019a60fbc4 abort_message + 132 (abort_message.cpp:78)
4 libc++abi.dylib 0x000000019a600fd8 demangling_terminate_handler() + 332 (cxa_default_handlers.cpp:71)
5 libobjc.A.dylib 0x000000019a50de34 _objc_terminate() + 144 (objc-exception.mm:701)
6 libc++abi.dylib 0x000000019a60ef58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x000000019a60eef4 std::terminate() + 64 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x000000018193f684 _dispatch_client_callout + 40 (object.m:563)
9 libdispatch.dylib 0x0000000181946df4 _dispatch_lane_serial_drain + 672 (inline_internal.h:2601)
10 libdispatch.dylib 0x0000000181947968 _dispatch_lane_invoke + 392 (queue.c:3937)
11 libdispatch.dylib 0x00000001819521b8 _dispatch_workloop_worker_thread + 656 (queue.c:6727)
12 libsystem_pthread.dylib 0x00000001f26a30f4 _pthread_wqthread + 288 (pthread.c:2599)
13 libsystem_pthread.dylib 0x00000001f26a2e94 start_wqthread + 8
...
Thread 5 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000019a6130ad x5: 0x000000016ddde440 x6: 0x000000000000006e x7: 0x0000000000000400
x8: 0xf08495dd375be3e9 x9: 0xf08495dc5a8613e9 x10: 0x0000000000000002 x11: 0x000000000000000b
x12: 0x000000009be1e045 x13: 0x000000001be1e000 x14: 0x0000000000000010 x15: 0x0000000000000002
x16: 0x0000000000000148 x17: 0x000000016dddf000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000004c03 x21: 0x000000016dddf0e0 x22: 0x0000000000000000 x23: 0x000000016dddf0e0
x24: 0x00000002812edee8 x25: 0x00000002829eafc0 x26: 0x0000000000000114 x27: 0x0000000000000000
x28: 0x00000002829eaf80 fp: 0x000000016ddde3b0 lr: 0x00000001f26a9378
sp: 0x000000016ddde390 pc: 0x00000001b9207964 cpsr: 0x40000000
esr: 0x56000080 Address size fault
...
Binary Images:
0x1022d8000 - 0x1022ebfff RNVApp arm64 <cf161f6820e430b78048721048c09503> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/RNVApp
0x1024c0000 - 0x1024c7fff DynamicFonts arm64 <55c2b85377843d2bbe44e845eb249372> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/DynamicFonts.framework/DynamicFonts
0x102564000 - 0x1025bbfff dyld arm64e <f94ccc7a6d1a33c7997ff611a6caa7e0> /usr/lib/dyld
0x10288c000 - 0x10292ffff React arm64 <b68dbcd4aaf43545b8c544c77c022c36> /private/var/containers/Bundle/Application/047A12BF-2DDD-4DC9-B98F-20362FF042B8/RNVApp.app/Frameworks/React.framework/React
0x18193b000 - 0x181981fff libdispatch.dylib arm64e <edd169e1d0db3808a19e99c1cd5a1c4c> /usr/lib/system/libdispatch.dylib
0x181c34000 - 0x182087fff CoreFoundation arm64e <16faa70c278c3561859ecec407c2dc7c> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x182912000 - 0x1833d8fff libnetwork.dylib arm64e <fb6fbf7c88273375a5006d440f277a49> /usr/lib/libnetwork.dylib
0x183457000 - 0x18375dfff Foundation arm64e <9618b2f2a4c23e07b7eed8d9e1bdeaec> /System/Library/Frameworks/Foundation.framework/Foundation
0x183b20000 - 0x1840dafff CoreGraphics arm64e <9b0d65be749036039fb1cc265bac2c3d> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x1840db000 - 0x185965fff UIKitCore arm64e <cd7f7ba2a2c63727aff69baab60cc6ab> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x18598b000 - 0x185c71fff QuartzCore arm64e <0594369d11dd39d9a98174984f490c0c> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x18cb71000 - 0x18cbeffff libsystem_c.dylib arm64e <f3afe30409793cba8338bebe9722ecd8> /usr/lib/system/libsystem_c.dylib
0x18cc48000 - 0x18df36fff JavaScriptCore arm64e <76eb30678ea839babee1daf713f7c91f> /System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore
0x19a4f2000 - 0x19a52bfff libobjc.A.dylib arm64e <73e920f0e7ce394197d87a10dd2cd390> /usr/lib/libobjc.A.dylib
0x19a598000 - 0x19a5fbfff libc++.1.dylib arm64e <80e058ad22ad3b2f9155000fa060690e> /usr/lib/libc++.1.dylib
0x19a5fc000 - 0x19a615fff libc++abi.dylib arm64e <71b1e39fb291315daf46a4343e707387> /usr/lib/libc++abi.dylib
0x19d7dd000 - 0x19d7e5fff GraphicsServices arm64e <064a1bb60e413ad2a402fb563fc141f5> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b9200000 - 0x1b9233fff libsystem_kernel.dylib arm64e <eb3e47f3395335839feefb6cff8a8d7a> /usr/lib/system/libsystem_kernel.dylib
0x1f26a2000 - 0x1f26adfff libsystem_pthread.dylib arm64e <c5c27e9d955739c9b9c65f6e7323ee1c> /usr/lib/system/libsystem_pthread.dylib

Related

ios application crashes with an incomprehensible error

Good afternoon.
I have received app crash reports from users. In the Reports->Crashes (Xcode -> Organaizer) I found the messages (logs) I needed. Previously, when clicking on "open in project", Xcode opened the debugger at the crash site with a message (if it was due to nil or something). But now it only shows the error stack and that's it. The required class does not open, not to mention the place of the crash.
I suspect that the crash is related to some ui events. But I don't know how to decipher them in detail. Previously, I did not work with crashes in more detail and I do not know how to thoroughly analyze them.
Could you recommend any tutorial or articles? Could you suggest what might be causing the error. There were several crashes of the series until the user deleted the application. I am attaching the logs of the very first crash in this queue.
Thread 0 Crashed:
0 libobjc.A.dylib 0x00000001ed766090 objc_opt_class + 36 (objc-object.h:237)
1 UIKitCore 0x00000001d70b37ac -[UIWindow _windowInterfaceOrientation] + 24 (UIWindow.m:4960)
2 UIKitCore 0x00000001d7238030 -[UIWindow _sceneSafeAreaInsetsIncludingStatusBar:] + 52 (UIWindow.m:2591)
3 UIKitCore 0x00000001d70adfec -[UIScrollView _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 212 (UIScrollView.m:12675)
4 UIKitCore 0x00000001d739243c -[UIScrollView _effectiveHorizontalScrollIndicatorInsets] + 200 (UIScrollView.m:12795)
5 UIKitCore 0x00000001d7287b9c -[UIScrollView _layoutHorizontalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:verticalIndicatorFrame:] + 384 (UIScrollView.m:9506)
6 UIKitCore 0x00000001d72035c8 -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1296 (UIScrollView.m:9386)
7 UIKitCore 0x00000001d72c1ddc -[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 140 (UIScrollView.m:3606)
8 UIKitCore 0x00000001d7153784 _UIScrollViewAdjustForOverlayInsetsChangeIfNecessary + 592 (UIScrollView.m:12877)
9 UIKitCore 0x00000001d816293c -[UIScrollView _updateForChangedEdgesConvertingSafeAreaToContentInsetWithOldSystemContentInset:oldEdgesPropagatingSafeAreaInsets:adjustContentOffsetIfNecessary:] + 116 (UIScrollView.m:2467)
10 UIKitCore 0x00000001d709cd9c -[UIScrollView setContentSize:] + 1816 (UIScrollView.m:2421)
11 UIKitCore 0x00000001d70596d4 -[UIScrollView _applyConstrainedContentSizeIfNecessary] + 112 (UIScrollView.m:1443)
12 UIKitCore 0x00000001d708362c -[UIScrollView layoutSubviews] + 60 (UIScrollView.m:1476)
13 UIKitCore 0x00000001d7074844 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2592 (UIView.m:18426)
14 QuartzCore 0x00000001d87ea1c0 CA::Layer::layout_if_needed(CA::Transaction*) + 532 (CALayer.mm:10116)
15 QuartzCore 0x00000001d87dc5fc CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136 (CALayer.mm:2479)
16 QuartzCore 0x00000001d87f0f70 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 452 (CAContextInternal.mm:2612)
17 QuartzCore 0x00000001d87f9e78 CA::Transaction::commit() + 704 (CATransactionInternal.mm:449)
18 UIKitCore 0x00000001d70836d8 _UIApplicationFlushRunLoopCATransactionIfTooLate + 84 (UIApplication.m:2977)
19 UIKitCore 0x00000001d7053a38 __processEventQueue + 7412 (UIEventDispatcher.m:2639)
20 UIKitCore 0x00000001d7058c9c __eventFetcherSourceCallback + 172 (UIEventDispatcher.m:2668)
21 CoreFoundation 0x00000001d4b33f04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
22 CoreFoundation 0x00000001d4b44c90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
23 CoreFoundation 0x00000001d4a7e184 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
24 CoreFoundation 0x00000001d4a83b4c __CFRunLoopRun + 828 (CFRunLoop.c:2951)
25 CoreFoundation 0x00000001d4a976b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
26 GraphicsServices 0x00000001f0b31374 GSEventRunModal + 164 (GSEvent.c:2200)
27 UIKitCore 0x00000001d73fce88 -[UIApplication _run] + 1100 (UIApplication.m:3511)
28 UIKitCore 0x00000001d717e5ec UIApplicationMain + 364 (UIApplication.m:5064)
29 APPNAME 0x0000000100cafc60 main + 68 (UIView.swift:13)
30 dyld 0x00000001012f9ce4 start + 520 (dyldMain.cpp:879)
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000016030a130 x1: 0x000000021f701692 x2: 0x00000001012e1940 x3: 0x000000010133a328
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000f20
x8: 0x010000022db9944f x9: 0x000000021f701692 x10: 0x000000016cca86da x11: 0x01ff00015e030400
x12: 0x00000000000000bf x13: 0x000000015e030fd0 x14: 0x0000000000000018 x15: 0x000000022db99448
x16: 0x000000022db99448 x17: 0x000000022db99448 x18: 0x0000000000000000 x19: 0x000000016030a130
x20: 0x0000000000000000 x21: 0x0000000000000004 x22: 0x000000021e8f47df x23: 0x00000002838a6e00
x24: 0x0000000000000000 x25: 0x00000000000005d0 x26: 0x000000022db84840 x27: 0x0000000000000460
x28: 0x0000000000000068 fp: 0x000000016f153130 lr: 0x00000001d70b37ac
sp: 0x000000016f153120 pc: 0x00000001ed766090 cpsr: 0x60000000
esr: 0x92000047 (Data Abort) byte write Translation fault
Binary Images:
0x100ca8000 - 0x100e7ffff APPNAME arm64 <9132dc7750703059bb23bb964dc7c319> /private/var/containers/Bundle/Application/438CAE39-5E52-4E70-A046-55DC0EE12F36/APPNAME.app/APPNAME
0x1012e0000 - 0x101337fff dyld arm64e <d16b72c0d6193e4892622c10a1d3066f> /usr/lib/dyld
0x1d4a78000 - 0x1d4ecdfff CoreFoundation arm64e <d2716f2f688b3d51ba8b17e6553b209e> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1d5296000 - 0x1d5756fff CFNetwork arm64e <eae64611a84036fea69d5658f1bcf4d0> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1d6266000 - 0x1d656efff Foundation arm64e <feeef9b1b0e63561adfa3ef0302d23f8> /System/Library/Frameworks/Foundation.framework/Foundation
0x1d6ee9000 - 0x1d8783fff UIKitCore arm64e <e6e89bb5b5863725bf8f4c85dcd443bd> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1d87aa000 - 0x1d8ab9fff QuartzCore arm64e <a491ae8b354b35c1ab22af42a96b6704> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x1de07a000 - 0x1de0a4fff AudioSession arm64e <37d438b9289d39b08b671b38de65305f> /System/Library/PrivateFrameworks/AudioSession.framework/AudioSession
0x1e405f000 - 0x1e675bfff WebCore arm64e <49f330352d3a3aa5bf5a4f25ca8b8c77> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x1ed760000 - 0x1ed79cfff libobjc.A.dylib arm64e <a196a0f6cadb325bbc1f5965e670f9b6> /usr/lib/libobjc.A.dylib
0x1f0b30000 - 0x1f0b38fff GraphicsServices arm64e <75a910dc87a43b3a8c0ea868b945f5d4> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x20c479000 - 0x20c4aefff libsystem_kernel.dylib arm64e <c2fcc05874803c14b4790064a3f843e3> /usr/lib/system/libsystem_kernel.dylib
0x245a95000 - 0x245aa0fff libsystem_pthread.dylib arm64e <b48efcbed4f7308ba3fa172e0ea78e33> /usr/lib/system/libsystem_pthread.dylib
Looks like the issue is because of change in content size of UIScrollView on changing the device orientation.
https://www.raywenderlich.com/2805-demystifying-ios-application-crash-logs
This tutorial on understanding crash logs might be helpful to you.
Thank you

Why is my iOS crash report from a debug build only partially symbolicated?

I have a crash report from my app on my iPhone, and the stack in the report is unsymbolicated for my app's binary only. I'm not using an archive build to distribute to Test Flight or the App Store yet, so I just have a debug build.
Is there something I can do fully symbolicate my debug build's crash report?
Maybe I have a setting similar to strip debug symbols during copy setup wrong that's causing this problem? I only say that because someone mentioned it in another question, but it didn't seem to make a difference.
Here's the interesting part from the crash report:
Incident Identifier: 411B8299-C4B8-4748-B76B-8F24E479BBA4
CrashReporter Key: 3833a4b98976d8b0b8fcc5623a7dff4217fc4101
Hardware Model: iPhone12,8
Process: MyApp [27285]
Path: /private/var/containers/Bundle/Application/3F19D333-751B-4CFE-B648-B2F6E04BD866/MyApp.app/MyApp
Identifier: Something.MyApp
Version: 1 (1.0)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: Something.MyApp [5248]
Date/Time: 2021-06-28 18:20:49.0345 -0700
Launch Time: 2021-06-28 18:20:42.5327 -0700
OS Version: iPhone OS 14.6 (18F72)
Release Type: User
Baseband Version: 2.05.01
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001c9832334 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001e727da9c pthread_kill + 272
2 libsystem_c.dylib 0x00000001a4a4fb90 abort + 104
3 libsystem_c.dylib 0x00000001a4a4f024 err + 0
4 MyApp 0x00000001021228d0 0x1020f8000 + 174288
5 MyApp 0x0000000102122874 0x1020f8000 + 174196
6 MyApp 0x0000000102122828 0x1020f8000 + 174120
7 MyApp 0x0000000102122800 0x1020f8000 + 174080
8 MyApp 0x0000000102121114 0x1020f8000 + 168212
9 MyApp 0x00000001021180e0 0x1020f8000 + 131296
10 MyApp 0x0000000102117010 0x1020f8000 + 126992
11 MyApp 0x000000010212c5f8 0x1020f8000 + 214520
12 MyApp 0x0000000102171174 0x1020f8000 + 495988
13 MyApp 0x000000010212a05c 0x1020f8000 + 204892
14 MyApp 0x00000001021689b0 0x1020f8000 + 461232
15 SpriteKit 0x00000001d01df780 -[SKScene _update:] + 364
16 SpriteKit 0x00000001d01bec50 -[SKRenderer _update:] + 844
17 SpriteKit 0x00000001d01be8d0 -[SKRenderer updateAtTime:] + 108
18 MyApp 0x0000000102103a9c 0x1020f8000 + 47772
19 MetalKit 0x00000001ce5d6778 -[MTKView draw] + 144
20 MetalKit 0x00000001ce5d2d14 -[MTKViewDisplayLinkTarget draw] + 40
21 QuartzCore 0x000000019e9047b8 CA::Display::DisplayLink::dispatch_items+ 83896 (unsigned long long, unsigned long long, unsigned long long) + 672
22 QuartzCore 0x000000019e9e37f4 display_timer_callback+ 997364 (__CFMachPort*, void*, long, void*) + 280
23 CoreFoundation 0x000000019b5f6a5c __CFMachPortPerform + 176
24 CoreFoundation 0x000000019b61c274 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
25 CoreFoundation 0x000000019b61b5f4 __CFRunLoopDoSource1 + 596
26 CoreFoundation 0x000000019b6151d8 __CFRunLoopRun + 2372
27 CoreFoundation 0x000000019b614360 CFRunLoopRunSpecific + 600
28 GraphicsServices 0x00000001b2c52734 GSEventRunModal + 164
29 UIKitCore 0x000000019e08f584 -[UIApplication _run] + 1072
30 UIKitCore 0x000000019e094df4 UIApplicationMain + 168
31 MyApp 0x0000000102168a44 0x1020f8000 + 461380
32 libdyld.dylib 0x000000019b2d0cf8 start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 4:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 6 name: com.apple.uikit.eventfetch-thread
Thread 6:
0 libsystem_kernel.dylib 0x00000001c980d4fc mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001c980c884 mach_msg + 76
2 CoreFoundation 0x000000019b61aeb0 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0x000000019b614d50 __CFRunLoopRun + 1212
4 CoreFoundation 0x000000019b614360 CFRunLoopRunSpecific + 600
5 Foundation 0x000000019c901fdc -[NSRunLoop+ 32732 (NSRunLoop) runMode:beforeDate:] + 232
6 Foundation 0x000000019c901ea8 -[NSRunLoop+ 32424 (NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x000000019e14412c -[UIEventFetcher threadMain] + 516
8 Foundation 0x000000019ca7332c __NSThread__start__ + 864
9 libsystem_pthread.dylib 0x00000001e727cbfc _pthread_start + 320
10 libsystem_pthread.dylib 0x00000001e7285758 thread_start + 8
Thread 7:
0 libsystem_pthread.dylib 0x00000001e7285744 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000030 x7: 0x0000000000000000
x8: 0x46025ab3c4edaa76 x9: 0x46025ab2c6bd92b6 x10: 0x0000000000000000 x11: 0x0000000000000037
x12: 0x00000000ffffffff x13: 0x0000000156bcafe0 x14: 0x0000000000000000 x15: 0x00000001fd88a6a8
x16: 0x0000000000000148 x17: 0x00000001025038c0 x18: 0x0000000105a17622 x19: 0x0000000000000006
x20: 0x0000000000000103 x21: 0x00000001025039a0 x22: 0x0000000102176a5e x23: 0x000000014dd18000
x24: 0x00000001f1799000 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000283e0a200
x28: 0x000000015681d600 fp: 0x000000016dd04ba0 lr: 0x00000001e727da9c
sp: 0x000000016dd04b80 pc: 0x00000001c9832334 cpsr: 0x40000000
esr: 0x56000080 Address size fault
Binary Images:
0x1020f8000 - 0x10217ffff MyApp arm64 <b2aa8f67eb433d298ff722f4a4d98040> /var/containers/Bundle/Application/3F19D333-751B-4CFE-B648-B2F6E04BD866/MyApp.app/MyApp
0x102428000 - 0x102433fff libobjc-trampolines.dylib arm64e <26cb4bb90880358ba280192f8ed6d0ad> /usr/lib/libobjc-trampolines.dylib
...
I figured it out. I must have edited my build options at some point in the past, and I changed the Debug Information Format build option from DWARF with dSYM File to just DWARF for my debug build only. Once I rebuilt, all symbols were showing up.

My app crashes when not launched from Xcode

Until today was running fine, with and without Xcode. But then I upgraded the device to iOS 14.2 beta and Xcode 12.1 to test some stuff. Then I ran the app with Xcode without problems but when I tried to run it without Xcode attached it simply crashes.
I'm guessing any of my 3rd party libraries might not be compatible with the coming iOS 14.2? But then how do I find which one?
How can I debug this if just happens when the app is not debugging?
Thanks in advance.
Edit: I was able to use Xcode to retrieve this crash log:
Incident Identifier: 457D137B-4C71-4234-B00C-A7FCFB54B83E
CrashReporter Key: 8209fa6a3cb483ad2e2f83c4080e8b5156eec66d Hardware
Model: iPhone11,8 Process: city [744] Path:
/private/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/city
Identifier: com.myapp.app Version: 836 (0.97)
Code Type: ARM-64 (Native) Role: Foreground
Parent Process: launchd [1] Coalition: com.myapp.app
[572]
Date/Time: 2020-11-04 17:38:27.4634 +0100 Launch Time:
2020-11-04 17:38:07.3599 +0100 OS Version: iPhone OS 14.2
(18B91) Release Type: User Baseband Version: 3.01.01 Report
Version: 104
Exception Type: EXC_CRASH (SIGKILL) Exception Codes:
0x0000000000000000, 0x0000000000000000 Exception Note:
EXC_CORPSE_NOTIFY Termination Reason: Namespace SPRINGBOARD, Code
0x8badf00d Termination Description: SPRINGBOARD, <RBSTerminateContext|
domain:10 code:0x8BADF00D explanation:process-launch watchdog
transgression: application<com.myapp.app>:744 exhausted real (wall
clock) time allowance of 20.00 seconds | ProcessVisibility: Foreground
| ProcessState: Running | WatchdogEvent: process-launch |
WatchdogVisibility: Foreground | WatchdogCPUStatistics: ( | "Elapsed
total CPU time (seconds): 9.720 (user 9.720, system 0.000), 8% CPU", |
"Elapsed application CPU time (seconds): 0.105, 0% CPU" | )
reportType:CrashLog maxTerminationResistance:Interactive> Triggered by
Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0
Crashed: 0 libsystem_kernel.dylib 0x00000001d217bf5c
__ulock_wait + 8 1 libdispatch.dylib 0x00000001a4e71794 _dlock_wait + 56 2 libdispatch.dylib 0x00000001a4e716c0 _dispatch_once_wait + 124 3 UIKitCore 0x00000001a782c430 -[_UIApplicationConfigurationLoader
_loadInitializationContext] + 152 4 UIKitCore 0x00000001a782c77c -[_UIApplicationConfigurationLoader
applicationInitializationContext] + 32 5 UIKitCore
0x00000001a7813394 -[_UIScreenInitialDisplayConfigurationLoader
initialDisplayContext] + 180 6 UIKitCore
0x00000001a7813680 +[UIScreen initialize] + 128 7 libobjc.A.dylib
0x00000001b97cdc58 CALLING_SOME_+initialize_METHOD + 24 8
libobjc.A.dylib 0x00000001b97d4318
initializeNonMetaClass + 716 9 libobjc.A.dylib
0x00000001b97d5910 initializeAndMaybeRelock+ 39184 (objc_class*,
objc_object*, mutex_tt<false>&, bool) + 280 10 libobjc.A.dylib
0x00000001b97e4498 lookUpImpOrForward + 956 11 libobjc.A.dylib
0x00000001b97ce524 _objc_msgSend_uncached + 68 12 UIKitCore
0x00000001a782cc80 _UIGetCurrentFallbackTraitCollection + 100 13
UIKitCore 0x00000001a78299d8 +[UITraitCollection
_currentTraitCollectionWithFallback:markFallback:] + 176 14 UIKitCore 0x00000001a7831454 _UICurrentImageTraitCollection + 28 15 UIKitCore
0x00000001a78310f4 +[UIImageConfiguration
_completeConfiguration:fromConfiguration:] + 164 16 UIKitCore 0x00000001a77dfad0 +[UIImage imageNamed:inBundle:withConfiguration:]
+ 180 17 UnityFramework 0x00000001059fbb38 +[LUTheme initialize] + 10468152 (LUTheme.m:150) 18 libobjc.A.dylib
0x00000001b97cdc58 CALLING_SOME_+initialize_METHOD + 24 19
libobjc.A.dylib 0x00000001b97d4318
initializeNonMetaClass + 716 20 libobjc.A.dylib
0x00000001b97d5910 initializeAndMaybeRelock+ 39184 (objc_class*,
objc_object*, mutex_tt<false>&, bool) + 280 21 libobjc.A.dylib
0x00000001b97e4498 lookUpImpOrForward + 956 22 libobjc.A.dylib
0x00000001b97ce524 _objc_msgSend_uncached + 68 23 UnityFramework
0x00000001059ddd00 +[LUConsoleLogEntry load] + 10345728
(LUConsoleLogEntry.m:44) 24 libobjc.A.dylib
0x00000001b97dd21c load_images + 928 25 libdyld.dylib
0x00000001a4ec1840 invocation function for block in
dyld3::AllImages::runInitialzersBottomUp+ 71744 (dyld3::closure::Image
const*) + 224 26 libdyld.dylib 0x00000001a4eb318c
dyld3::closure::Image::forEachImageToInitBefore(void + 12684 (unsigned
int, bool&) block_pointer) const + 104 27 libdyld.dylib
0x00000001a4ec2344 dyld3::AllImages::loadImage+ 74564 (Diagnostics&,
char const*, unsigned int, dyld3::closure::DlopenClosure const*, bool,
bool, bool, bool, void const*) + 828 28 libdyld.dylib
0x00000001a4ec1e2c dyld3::AllImages::dlopen+ 73260 (Diagnostics&,
char const*, bool, bool, bool, bool, bool, void const*, bool) + 904 29
libdyld.dylib 0x00000001a4ec3d14
dyld3::dlopen_internal+ 81172 (char const*, int, void*) + 372 30
libdyld.dylib 0x00000001a4eb5d44 dlopen_internal+
23876 (char const*, int, void*) + 112 31 CoreFoundation
0x00000001a51d2124 _CFBundleDlfcnLoadFramework + 140 32
CoreFoundation 0x00000001a51a1e10
_CFBundleLoadExecutableAndReturnError + 384 33 Foundation 0x00000001a64d1908 -[NSBundle loadAndReturnError:] + 336 34 city
0x0000000102533cb0 UnityFrameworkLoad() + 31920 (main.mm:12) 35 city
0x0000000102533db4 main + 32180 (main.mm:25) 36 libdyld.dylib
0x00000001a4eb16c0 start + 4
Thread 1 name: Dispatch queue:
com.apple.uikit.applicationSupportClient Thread 1: 0
libsystem_kernel.dylib 0x00000001d217b204 __psynch_mutexwait +
8 1 libsystem_pthread.dylib 0x00000001ee698214
_pthread_mutex_firstfit_lock_wait + 92 2 libsystem_pthread.dylib 0x00000001ee698164 _pthread_mutex_firstfit_lock_slow + 216 3
libdyld.dylib 0x00000001a4ec3bec
dyld3::dlopen_internal+ 80876 (char const*, int, void*) + 76 4
libdyld.dylib 0x00000001a4eb5d44 dlopen_internal+
23876 (char const*, int, void*) + 112 5 SoftLinking
0x00000001e634bf50 _sl_dlopen_audited + 52 6 BoardServices
0x00000001be0cb160 __getRBSServiceInitializeSymbolLoc_block_invoke +
84 7 BoardServices 0x00000001be0c8720
__34+[BSServiceManager sharedInstance]_block_invoke + 900 8 libdispatch.dylib 0x00000001a4e70db0
_dispatch_client_callout + 20 9 libdispatch.dylib 0x00000001a4e725c8 _dispatch_once_callout + 32 10 BoardServices
0x00000001be0c8398 +[BSServiceManager sharedInstance] + 84 11
BoardServices 0x00000001be0c0924
+[BSServiceConnection _connectionWithEndpoint:clientContextBuilder:] + 324 12 UIKitServices 0x00000001a9276a50
__44-[UISApplicationSupportClient _remoteTarget]_block_invoke + 208 13 libdispatch.dylib 0x00000001a4e70db0
_dispatch_client_callout + 20 14 libdispatch.dylib 0x00000001a4e7f428 _dispatch_lane_barrier_sync_invoke_and_complete +
60 15 UIKitServices 0x00000001a9276938
-[UISApplicationSupportClient _remoteTarget] + 184 16 UIKitServices 0x00000001a9276160 -[UISApplicationSupportClient
applicationInitializationContextWithParameters:] + 196 17 UIKitCore
0x00000001a782c5b0 __63-[_UIApplicationConfigurationLoader
_loadInitializationContext]_block_invoke_2 + 228 18 UIKitCore 0x00000001a782c4c0
__UIAPPLICATION_IS_LOADING_INITIALIZATION_INFO_FROM_THE_SYSTEM__ + 28 19 UIKitCore 0x00000001a782c498
__63-[_UIApplicationConfigurationLoader _loadInitializationContext]_block_invoke + 100 20 libdispatch.dylib 0x00000001a4e70db0 _dispatch_client_callout + 20 21
libdispatch.dylib 0x00000001a4e725c8
_dispatch_once_callout + 32 22 UIKitCore 0x00000001a782c430 -[_UIApplicationConfigurationLoader
_loadInitializationContext] + 152 23 UIKitCore 0x00000001a782c740 __70-[_UIApplicationConfigurationLoader
startPreloadInitializationContext]_block_invoke + 28 24
libdispatch.dylib 0x00000001a4e6f24c
_dispatch_call_block_and_release + 32 25 libdispatch.dylib 0x00000001a4e70db0 _dispatch_client_callout + 20 26
libdispatch.dylib 0x00000001a4e81a68
_dispatch_root_queue_drain + 656 27 libdispatch.dylib 0x00000001a4e82120 _dispatch_worker_thread2 + 116 28
libsystem_pthread.dylib 0x00000001ee6947c8 _pthread_wqthread +
216 29 libsystem_pthread.dylib 0x00000001ee69b75c
start_wqthread + 8
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0xfffffffffffffffc x1: 0x0000000000000000 x2: 0x0000000000001801 x3: 0x0000000000000000
x4: 0x00000001a4e861c8 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000023
x8: 0x0000000000001c07 x9: 0x0000000000001800 x10: 0x0000000000000001 x11: 0x000000000000000f x12: 0x0000000000cb4333
x13: 0x0300000204a4a729 x14: 0x0000000000000000 x15:
0x0000000204a4a728 x16: 0x0000000000000203 x17: 0x00000001a782c434
x18: 0x0000000000000000 x19: 0x0000000000000000 x20:
0x0000000204a5bf20 x21: 0x0000000001000002 x22: 0x0000000000001801
x23: 0x0000000000000008 x24: 0x0000000000000008 x25:
0x00000002049efa7c x26: 0x00000001029c39a0 x27: 0x00000002049ef000
x28: 0x00000001fad4b000 fp: 0x000000016d8cd840 lr:
0x00000001a4e71794
sp: 0x000000016d8cd820 pc: 0x00000001d217bf5c cpsr: 0x00000000 esr: 0x56000080 Address size fault
Binary Images: 0x10252c000 - 0x102533fff city arm64
<982dcb0901db3c84a30ab03723b50e64>
/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/city
0x102918000 - 0x102987fff dyld arm64e
<a5f65ef3bd32370b9821b3e9cda294d2> /usr/lib/dyld 0x105000000 -
0x109c5ffff UnityFramework arm64 <e59b3708514d3bbab0f36aa67ddd48c2>
/var/containers/Bundle/Application/BB8D479E-0C9F-4A22-ABB0-6E4371CA3CA3/city.app/Frameworks/UnityFramework.framework/UnityFramework
0x1a4e6d000 - 0x1a4eaffff libdispatch.dylib arm64e
<3277bf1eb99436099b30e0186bbf3c25> /usr/lib/system/libdispatch.dylib
0x1a4eb0000 - 0x1a4eeafff libdyld.dylib arm64e
<ba60cb9e95c53646beedd313e15586cf> /usr/lib/system/libdyld.dylib
0x1a4eeb000 - 0x1a5156fff libicucore.A.dylib arm64e
<844c0712322438dcb019d7d4bbbddf17> /usr/lib/libicucore.A.dylib
0x1a5157000 - 0x1a5510fff CoreFoundation arm64e
<af3f8e01c1303464ad40c5532d273483>
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x1a5511000 - 0x1a56bbfff CoreServices arm64e
<f036999028923bd39ccb7d9436a145cb>
/System/Library/Frameworks/CoreServices.framework/CoreServices
0x1a56bc000 - 0x1a5704fff WirelessDiagnostics arm64e
<7bcb1847440837d3ad100dae2432129e>
/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/WirelessDiagnostics
0x1a5705000 - 0x1a577ffff SystemConfiguration arm64e
<98796725fd6c39b6af67b09485215996>
/System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x1a5780000 - 0x1a5877fff CoreTelephony arm64e
<1865753878113c668fdce282c9999252>
/System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x1a5878000 - 0x1a5d0ffff CFNetwork arm64e
<f8c7b81649ab39479309b8975a7ccea0>
/System/Library/Frameworks/CFNetwork.framework/CFNetwork 0x1a5d10000 -
0x1a641dfff libnetwork.dylib arm64e
<267d1486bbbd34efbc93d51b2460b9e9> /usr/lib/libnetwork.dylib
0x1a641e000 - 0x1a6494fff Accounts arm64e
<6c32f1bd45c730a9b5955eac14fb5142>
/System/Library/Frameworks/Accounts.framework/Accounts 0x1a6495000 -
0x1a6750fff Foundation arm64e <5c24ee4a344736bd99106f4d9616d692>
/System/Library/Frameworks/Foundation.framework/Foundation 0x1a6751000
- 0x1a6ab0fff ImageIO arm64e <ce6bb6d9752139118ba03e6b8b147f40> /System/Library/Frameworks/ImageIO.framework/ImageIO 0x1a6aca000 -
0x1a7062fff CoreGraphics arm64e <5fbf586867c23779be8102182faff4b0>
/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x1a7063000 - 0x1a850efff UIKitCore arm64e
<05147936b8753ef394db9c8869bb0e34>
/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x1a850f000 - 0x1a852efff libAccessibility.dylib arm64e
<b88743822b4f3f4ea0ca1408c2a86634> /usr/lib/libAccessibility.dylib
0x1a852f000 - 0x1a87b3fff QuartzCore arm64e
<dc2644e7e5e43d839110a5ae7e2c8b1f>
/System/Library/Frameworks/QuartzCore.framework/QuartzCore 0x1a87b4000
- 0x1a881ffff BackBoardServices arm64e <4827f4d1b8c13c59a7f6d4549556356a>
/System/Library/PrivateFrameworks/BackBoardServices.framework/BackBoardServices
0x1a8820000 - 0x1a88adfff TextInput arm64e
<c1bac3dcbbc138beb86782ab8c97227d>
/System/Library/PrivateFrameworks/TextInput.framework/TextInput
0x1a8917000 - 0x1a8cc1fff AppleMediaServices arm64e
<3793486f3f3b362b89c78990298a1d23>
/System/Library/PrivateFrameworks/AppleMediaServices.framework/AppleMediaServices
0x1a8cc2000 - 0x1a8e3dfff libswiftFoundation.dylib arm64e
<b3a87bce17c73fe1ad8e4f5ac865f27c>
/usr/lib/swift/libswiftFoundation.dylib 0x1a8e3e000 - 0x1a926dfff
libswiftCore.dylib arm64e <bd74e14183993d02bd9d2cab2337e1a0>
/usr/lib/swift/libswiftCore.dylib 0x1a926e000 - 0x1a9284fff
UIKitServices arm64e <4ad58e2b1d973bc38aeaedce472d1cbd>
/System/Library/PrivateFrameworks/UIKitServices.framework/UIKitServices
0x1a9285000 - 0x1a93dcfff Preferences arm64e
<3cd6d9dd89b03d1aa984f3c2ba0228e2>
As the error message tells you, "process-launch watchdog transgression: exhausted real (wall clock) time allowance of 20.00 seconds". Your app is taking too long to launch.
The reason this doesn't happen when launching from Xcode is that the watchdog is turned off under those circumstances. But it is still taking too long to launch, even from Xcode!
The reason for taking so long is that you have misunderstood how to launch. Do not perform tasks during launch (on the main thread). Your job during launch is to get out of the way and let the device launch the app and get it running. The best thing for you to do during launch is nothing. Just stand back.
If you have time-consuming tasks to perform, do them later and on a background thread.

My app Crashes in Testflight on iOS 13+ Only

I recently submitted an app to Tesflight for test, the app work fine for iOS 12 but consistently crashes at the same place for iOS 13.6.1 .
The app is in Testflight and is compiled with Xcode 11.5
Can anyone help me to solve this problem?
this is crash log can anyone make a suggestion on what's going wrong ?
Incident Identifier: A516654B-34B8-411D-B6D5-12BEC3B9D2CE
Hardware Model: iPhone9,3
Process: ********* [3921]
Path: /private/var/containers/Bundle/Application/******
Identifier: com.*****
Version: 3 (1.0.1)
AppStoreTools: 11E801a
AppVariant: 1:iPhone9,3:13
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.******* [1594]
Date/Time: 2020-08-29 20:30:02.3612 +0200
Launch Time: 2020-08-29 20:29:50.4227 +0200
OS Version: iPhone OS 13.6.1 (17G80)
Release Type: User
Baseband Version: 4.03.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 2
Last Exception Backtrace:
0 CoreFoundation 0x199c79654 __exceptionPreprocess + 224 (NSException.m:199)
1 libobjc.A.dylib 0x19999bbcc objc_exception_throw + 56 (objc-exception.mm:565)
2 CoreFoundation 0x199b7c6ec +[NSException raise:format:arguments:] + 96 (NSException.m:146)
3 Foundation 0x199fc216c -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)
4 FrontBoardServices 0x19ee48e84 -[FBSSerialQueue assertOnQueue] + 228 (FBSSerialQueue.m:98)
5 FrontBoardServices 0x19edfed88 -[FBSSceneImpl updateClientSettings:withTransitionContext:] + 76 (FBSSceneImpl.m:190)
6 FrontBoardServices 0x19edfefe8 -[FBSSceneImpl updateClientSettingsWithTransitionBlock:] + 152 (FBSSceneImpl.m:213)
7 FrontBoardServices 0x19edfeef8 -[FBSSceneImpl updateClientSettingsWithBlock:] + 112 (FBSSceneImpl.m:203)
8 UIKitCore 0x19d8a46c0 -[FBSScene(UIApp) updateUIClientSettingsWithBlock:] + 168 (FBSScene+UIApp.m:41)
9 UIKitCore 0x19dd3c448 -[UIApplication setProximityEventsEnabled:] + 108 (UIApplication.m:9203)
10 UIKitCore 0x19d99cd50 -[UIDevice setProximityMonitoringEnabled:] + 112 (UIDevice.m:890)
11 *** 0x100276cec -[ProximityHelper startProximitySensor] + 100 (ProximityHelper.m:53)
12 *** 0x10025347c -[RecordSound performRecord:] + 656 (RecordSound.m:172)
13 *** 0x10009c180 -[SoundRecordManager startCalibrationRecord:] + 200 (SoundRecordManager.m:65)
14 CoreFoundation 0x199c7f8c0 __invoking___ + 144
15 CoreFoundation 0x199b50a70 -[NSInvocation invoke] + 300 (NSForwarding.m:3312)
16 CoreFoundation 0x199b51648 -[NSInvocation invokeWithTarget:] + 76 (NSForwarding.m:3418)
17 **** 0x10015bef0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 460 (RCTModuleMethod.mm:584)
18 **** 0x10015dfdc facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&) + 244 (RCTNativeModule.mm:114)
19 **** 0x10015dd40 operator() + 44 (RCTNativeModule.mm:75)
20 **** 0x10015dd40 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 88 (RCTNativeModule.mm:67)
21 libdispatch.dylib 0x19993e9a8 _dispatch_call_block_and_release + 24 (init.c:1408)
22 libdispatch.dylib 0x19993f524 _dispatch_client_callout + 16 (object.m:495)
23 libdispatch.dylib 0x1998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
24 libdispatch.dylib 0x1998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
25 libdispatch.dylib 0x1998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
26 libsystem_pthread.dylib 0x199990b74 _pthread_wqthread + 272 (pthread.c:2351)
27 libsystem_pthread.dylib 0x199993740 start_wqthread + 8
Thread 2 name:
Thread 2 Crashed:
0 libsystem_kernel.dylib 0x0000000199a6ed88 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001999871e8 pthread_kill$VARIANT$mp + 136 (pthread.c:1458)
2 libsystem_c.dylib 0x00000001998da934 abort + 100 (abort.c:110)
3 libc++abi.dylib 0x0000000199a42cc0 abort_message + 128 (abort_message.cpp:76)
4 libc++abi.dylib 0x0000000199a34e10 demangling_terminate_handler() + 296 (cxa_default_handlers.cpp:65)
5 libobjc.A.dylib 0x000000019999be80 _objc_terminate() + 124 (objc-exception.mm:701)
6 libc++abi.dylib 0x0000000199a4214c std::__terminate(void (*)()) + 16 (cxa_handlers.cpp:59)
7 libc++abi.dylib 0x0000000199a420e4 std::terminate() + 44 (cxa_handlers.cpp:88)
8 libdispatch.dylib 0x000000019993f538 _dispatch_client_callout + 36 (object.m:498)
9 libdispatch.dylib 0x00000001998eb8a4 _dispatch_lane_serial_drain$VARIANT$mp + 608 (inline_internal.h:2484)
10 libdispatch.dylib 0x00000001998ec294 _dispatch_lane_invoke$VARIANT$mp + 416 (queue.c:3863)
11 libdispatch.dylib 0x00000001998f578c _dispatch_workloop_worker_thread + 588 (queue.c:6445)
12 libsystem_pthread.dylib 0x0000000199990b74 _pthread_wqthread + 272 (pthread.c:2351)
13 libsystem_pthread.dylib 0x0000000199993740 start_wqthread + 8
Thread 2 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000199a45f29 x5: 0x000000016ff0a450 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x000000016ff0b000 x9: 0x32fb60d336d77b95 x10: 0x0000000199987160 x11: 0x000000000000000b
x12: 0x00000001d55f9080 x13: 0x0000000000000001 x14: 0x0000000000000010 x15: 0x0000000000000004
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000001803 x21: 0x000000016ff0a450 x22: 0x000000016ff0b0e0 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000281d6a800 x26: 0x00000002826015c0 x27: 0x0000000000000000
x28: 0x00000002826015c0 fp: 0x000000016ff0a3b0 lr: 0x00000001999871e8
sp: 0x000000016ff0a390 pc: 0x0000000199a6ed88 cpsr: 0x40000000
esr: 0x56000080 Address size fault
the code of proximity helper :
49 - (void) startProximitySensor {
50 if (!self.activatedByApp) return;
51 [timesChanged removeAllObjects];
52 UIDevice *device = [UIDevice currentDevice];
53 device.proximityMonitoringEnabled = YES;
54
55
56 [[NSNotificationCenter defaultCenter]
57 addObserver:self
58 selector:#selector(proximityChanged:)
59 name: proximityNotificationString
60 object:nil];
61 }
In this app version, I don't need proximity helper so I deleted his call from the library and it worked on iOS 13+

iOS App Rejected EXC_BAD_ACCESS (SIGSEGV) - Unable to Reproduce Error

My app was rejected from the review based on the error log:
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000048
VM Region Info: 0x48 is not in any region. Bytes before following region: 4372316088
I am unable to reproduce the crash on any of the devices/simulators. I was running various instruments like Zombies and Address Sanitizer, but nothing was found. The app is build for iOS 12.1 and works fine on all tested devices.
Is there a way to discover the origin of the issue please? I came across thread in Apple Dev forum with similar error report pointing to known issues with SFNetwork using iOS 12, but my app does not use CFNetwork. What would you suggest please?
Thank you
Part of the error log from the app review is below:
{"app_name":"xxxxx","timestamp":"2019-11-10 17:11:55.07 -0800","app_version":"1.0","slice_uuid":"xxxxx-735520498fee","adam_id":1452107056,"build_version":"1","bundleID":"com.olaszStudios.xxxxx","share_with_app_devs":true,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 13.1.3 (17A878)","incident_id":"19AC53EB-8539-487A-91E0-BAE0C1C46053","name":"xxxxx"}
Incident Identifier: 19AC53EB-8539-487A-91E0-BAE0C1C46053
CrashReporter Key: 3ae8b3bfcaad4f26596c08d88637fbf24b0a7633
Hardware Model: xxx
Process: xxxxx [13937]
Path: /private/var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/xxxxx.app/xxxxx
Identifier: com.olaszStudios.xxxxx
Version: 1 (1.0)
AppStoreTools: 11B48b
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.olaszStudios.xxxxx [6192]
Date/Time: 2019-11-10 17:11:54.5395 -0800
Launch Time: 2019-11-10 17:11:54.0933 -0800
OS Version: iPhone OS 13.1.3 (17A878)
Release Type: User
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000048
VM Region Info: 0x48 is not in any region. Bytes before following region: 4372316088
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 00000001049c4000-00000001049cc000 [ 32K] r-x/r-x SM=COW ...y.app/xxxxx
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [13937]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 AVFAudio 0x00000001c2174268 0x1c2152000 + 139880
1 AVFAudio 0x00000001c21729ac 0x1c2152000 + 133548
2 AVFAudio 0x00000001c21729ac 0x1c2152000 + 133548
3 Sploony 0x00000001049e7e2c 0x1049c4000 + 146988
4 Sploony 0x00000001049e7c14 0x1049c4000 + 146452
5 UIKitCore 0x00000001b97e2ebc 0x1b8dfc000 + 10383036
6 UIKitCore 0x00000001b97e4c8c 0x1b8dfc000 + 10390668
7 UIKitCore 0x00000001b97ea4c0 0x1b8dfc000 + 10413248
8 UIKitCore 0x00000001b8fc6810 0x1b8dfc000 + 1878032
9 UIKitCore 0x00000001b94573ec 0x1b8dfc000 + 6665196
10 UIKitCore 0x00000001b8fc72f8 0x1b8dfc000 + 1880824
11 UIKitCore 0x00000001b8fc6e04 0x1b8dfc000 + 1879556
12 UIKitCore 0x00000001b8fc7124 0x1b8dfc000 + 1880356
13 UIKitCore 0x00000001b8fc69e0 0x1b8dfc000 + 1878496
14 UIKitCore 0x00000001b8fcaefc 0x1b8dfc000 + 1896188
15 UIKitCore 0x00000001b938a028 0x1b8dfc000 + 5824552
16 UIKitCore 0x00000001b94705ac 0x1b8dfc000 + 6768044
17 UIKitCore 0x00000001b8fcac34 0x1b8dfc000 + 1895476
18 UIKitCore 0x00000001b94704a8 0x1b8dfc000 + 6767784
19 UIKitCore 0x00000001b8fcaaa0 0x1b8dfc000 + 1895072
20 UIKitCore 0x00000001b8e3fefc 0x1b8dfc000 + 278268
21 UIKitCore 0x00000001b8e3ea64 0x1b8dfc000 + 272996
22 UIKitCore 0x00000001b8e3fc34 0x1b8dfc000 + 277556
23 UIKitCore 0x00000001b97e8840 0x1b8dfc000 + 10405952
24 UIKitCore 0x00000001b93aaa0c 0x1b8dfc000 + 5958156
25 FrontBoardServices 0x00000001ba877994 0x1ba86b000 + 51604
26 FrontBoardServices 0x00000001ba89c960 0x1ba86b000 + 203104
27 FrontBoardServices 0x00000001ba8820f8 0x1ba86b000 + 94456
28 FrontBoardServices 0x00000001ba89c61c 0x1ba86b000 + 202268
29 libdispatch.dylib 0x00000001b54ac184 0x1b5450000 + 377220
30 libdispatch.dylib 0x00000001b5455038 0x1b5450000 + 20536
31 FrontBoardServices 0x00000001ba8c1540 0x1ba86b000 + 353600
32 FrontBoardServices 0x00000001ba8c120c 0x1ba86b000 + 352780
33 FrontBoardServices 0x00000001ba8c1734 0x1ba86b000 + 354100
34 CoreFoundation 0x00000001b575c7e0 0x1b56b3000 + 694240
35 CoreFoundation 0x00000001b575c738 0x1b56b3000 + 694072
36 CoreFoundation 0x00000001b575bed0 0x1b56b3000 + 691920
37 CoreFoundation 0x00000001b575701c 0x1b56b3000 + 671772
38 CoreFoundation 0x00000001b57568bc 0x1b56b3000 + 669884
39 GraphicsServices 0x00000001bf5c2328 0x1bf5bf000 + 13096
40 UIKitCore 0x00000001b97ec6d4 0x1b8dfc000 + 10421972
41 xxxxx 0x00000001049cd460 0x1049c4000 + 37984
42 libdyld.dylib 0x00000001b55e1460 0x1b55e0000 + 5216
Thread 1 name: Dispatch queue: com.apple.network.connections
Thread 1:
0 libsystem_kernel.dylib 0x00000001b55d7170 0x1b55b2000 + 151920
1 libsystem_dnssd.dylib 0x00000001c92d6158 0x1c92d3000 + 12632
2 libsystem_dnssd.dylib 0x00000001c92d79f8 0x1c92d3000 + 18936
3 libnetwork.dylib 0x00000001b7b0e794 0x1b79f0000 + 1173396
4 libnetwork.dylib 0x00000001b7b0f578 0x1b79f0000 + 1176952
5 libnetwork.dylib 0x00000001b7b0f004 0x1b79f0000 + 1175556
6 libdispatch.dylib 0x00000001b54ab610 0x1b5450000 + 374288
7 libdispatch.dylib 0x00000001b54ac184 0x1b5450000 + 377220
8 libdispatch.dylib 0x00000001b545a110 0x1b5450000 + 41232
9 libdispatch.dylib 0x00000001b5462340 0x1b5450000 + 74560
10 libsystem_pthread.dylib 0x00000001b54fbfa4 0x1b54f0000 + 49060
11 libsystem_pthread.dylib 0x00000001b54feae0 0x1b54f0000 + 60128
Thread 2:
0 libsystem_pthread.dylib 0x00000001b54fead8 0x1b54f0000 + 60120
Thread 3:
0 libsystem_pthread.dylib 0x00000001b54fead8 0x1b54f0000 + 60120
Thread 4:
0 libsystem_pthread.dylib 0x00000001b54fead8 0x1b54f0000 + 60120
Thread 5 name: com.apple.uikit.eventfetch-thread
Thread 5:
0 libsystem_kernel.dylib 0x00000001b55b55f4 0x1b55b2000 + 13812
1 libsystem_kernel.dylib 0x00000001b55b4a60 0x1b55b2000 + 10848
2 CoreFoundation 0x00000001b575c068 0x1b56b3000 + 692328
3 CoreFoundation 0x00000001b5757188 0x1b56b3000 + 672136
4 CoreFoundation 0x00000001b57568bc 0x1b56b3000 + 669884
5 Foundation 0x00000001b5a96994 0x1b5a8f000 + 31124
6 Foundation 0x00000001b5a96874 0x1b5a8f000 + 30836
7 UIKitCore 0x00000001b988449c 0x1b8dfc000 + 11043996
8 Foundation 0x00000001b5bc70b0 0x1b5a8f000 + 1278128
9 libsystem_pthread.dylib 0x00000001b54fb1ec 0x1b54f0000 + 45548
10 libsystem_pthread.dylib 0x00000001b54feaec 0x1b54f0000 + 60140
Thread 6:
0 libsystem_pthread.dylib 0x00000001b54fead8 0x1b54f0000 + 60120
Thread 7 name: AVAudioSession Notify Thread
Thread 7:
0 libsystem_kernel.dylib 0x00000001b55b55f4 0x1b55b2000 + 13812
1 libsystem_kernel.dylib 0x00000001b55b4a60 0x1b55b2000 + 10848
2 CoreFoundation 0x00000001b575c068 0x1b56b3000 + 692328
3 CoreFoundation 0x00000001b5757188 0x1b56b3000 + 672136
4 CoreFoundation 0x00000001b57568bc 0x1b56b3000 + 669884
5 AVFAudio 0x00000001c21b7e68 0x1c2152000 + 417384
6 AVFAudio 0x00000001c2208df0 0x1c2152000 + 749040
7 libsystem_pthread.dylib 0x00000001b54fb1ec 0x1b54f0000 + 45548
8 libsystem_pthread.dylib 0x00000001b54feaec 0x1b54f0000 + 60140
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002825de5e0 x1: 0x00000001ebade94a x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x000000010a80f080 x5: 0x0000000000000020 x6: 0x000000016b438cd8 x7: 0x0000000000000000
x8: 0x00000001ebade000 x9: 0x0000000000000000 x10: 0x0000000000000002 x11: 0x0000000280bc1fa8
x12: 0x0000000000000002 x13: 0x0000000000000000 x14: 0x0000000000000006 x15: 0x0000000000000032
x16: 0x00000001f27010a8 x17: 0x00000001c2174258 x18: 0x0000000000000000 x19: 0x00000002825de5e0
x20: 0x0000000000000000 x21: 0x00000002825d5da0 x22: 0x0000000000000020 x23: 0x00000002801d28e0
x24: 0x0000000000000000 x25: 0x00000001eb6dcc21 x26: 0x0000000000000010 x27: 0x4000000280bc0400
x28: 0x00000001f90b1000 fp: 0x000000016b439510 lr: 0x00000001c21729ac
sp: 0x000000016b439500 pc: 0x00000001c2174268 cpsr: 0x40000000
esr: 0x92000006 (Data Abort) byte read Translation fault
Binary Images:
0x1049c4000 - 0x104acbfff xxxxx arm64 <ecee71b82c9331ebaaf1735520498fee> /var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/xxxxx.app/xxxxx
0x104b4c000 - 0x104b53fff GoogleToolboxForMac arm64 <5f9b626d67533ccbae318dd06fe0d217> /var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/Sploony.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac
0x104b60000 - 0x104b6bfff nanopb arm64 <5dc8b13a7cad3f87a317374d4e52967e> /var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/Sploony.app/Frameworks/nanopb.framework/nanopb
0x104b7c000 - 0x104bdffff dyld arm64 <571392a7e1e6369f8805c1a141f3c1c5> /usr/lib/dyld
0x104c58000 - 0x104c8bfff SwiftyStoreKit arm64 <b16e5abd43da35c2bef846ae27832694> /var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/Sploony.app/Frameworks/SwiftyStoreKit.framework/SwiftyStoreKit
0x104ca4000 - 0x104cabfff libswiftARKit.dylib arm64 <428f4bbfa8e43e558832a8665af09444> /var/containers/Bundle/Application/700B5747-0D3B-4948-9DB0-923C97A94020/Sploony.app/Frameworks/libswiftARKit.dylib

Resources