iOS app crashes on [UIApplication runWithMainScene:transitionContext:completion:]

I have a common crash since iOS 15 was introduced. Unfortunately for me, I am not able to reproduce it with my iPhone X (iOS 15.0) and I am also not able to understand why and where it happens from the crash report. It's a Swift project started few years ago /2018-2019/ and no SwiftUI is used in it. Any ideas would be greatly appreciated.

Here's the crash report (Xcode Organizer focuses on line 3 from the last exception backtrace - [UIApplication runWithMainScene:transitionContext:completion:]):

Incident Identifier: 821564EC-7BD1-465C-A6BF-DA854523B983
Hardware Model:      iPhone12,1
Process:             projectHome [1107]
Path:                /private/var/containers/Bundle/Application/B93A18F6-FB89-4F48-8A58-A999F37A9F13/projectHome.app/projectHome
Identifier:          com.project.Home.manegement
Version:             1.8.1 (7371)
AppStoreTools:       13A1030d
AppVariant:          1:iPhone12,1:13
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.project.Home.manegement [863]

Date/Time:           2021-12-01 06:51:43.4278 +0100
Launch Time:         2021-11-30 20:20:40.1958 +0100
OS Version:          iPhone OS 15.1 (19B74)
Release Type:        User
Baseband Version:    3.00.00
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                  0x180da504c __exceptionPreprocess + 220 (NSException.m:200)
1   libobjc.A.dylib                 0x199419f54 objc_exception_throw + 60 (objc-exception.mm:565)
2   Foundation                      0x18265e6cc -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 200 (NSException.m:242)
3   UIKitCore                       0x1836ab7a8 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1980 (UIApplication.m:4497)
4   UIKitCore                       0x183508e44 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 152 (_UISceneLifecycleMultiplexer.m:452)
5   UIKitCore                       0x18336162c _UIScenePerformActionsWithLifecycleActionMask + 104 (_UISceneLifecycleState.m:109)
6   UIKitCore                       0x18348cb7c __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 224 (_UISceneLifecycleMultiplexer.m:565)
7   UIKitCore                       0x1835ad380 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 248 (_UISceneLifecycleMultiplexer.m:514)
8   UIKitCore                       0x1837edf8c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 760 (_UISceneLifecycleMultiplexer.m:564)
9   UIKitCore                       0x183779710 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 340 (_UISceneLifecycleMultiplexer.m:470)
10  UIKitCore                       0x183362430 __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... + 196 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:73)
11  UIKitCore                       0x183422350 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] + 892 (BSAnimationSettings+UIKit.m:50)
12  UIKitCore                       0x183364340 _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 276 (_UISceneSettingsDiffAction.m:23)
13  UIKitCore                       0x18344edf4 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 384 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:58)
14  UIKitCore                       0x1838d6260 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.608 + 776 (UIScene.m:1807)
15  UIKitCore                       0x183392c60 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 256 (UIScene.m:1508)
16  UIKitCore                       0x1833d6524 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 288 (UIScene.m:1774)
17  UIKitCore                       0x18350dd70 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 572 (UIApplication.m:3937)
18  UIKitCore                       0x18344d0b4 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 388 (UIApplicationSceneClientAgent.m:45)
19  FrontBoardServices              0x19289ce20 -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] + 440 (FBSScene.m:439)
20  FrontBoardServices              0x1928c2cdc __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke.215 + 128 (FBSWorkspaceScenesClient.m:384)
21  FrontBoardServices              0x19287d6b4 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 240 (FBSWorkspace.m:352)
22  FrontBoardServices              0x19287ecf4 __94-[FBSWorkspaceScenesClient createWithSceneID:groupID:parameters:transitionContext:completion:]_block_invoke + 372 (FBSWorkspaceScenesClient.m:383)
23  libdispatch.dylib               0x180a17660 _dispatch_client_callout + 20 (object.m:560)
24  libdispatch.dylib               0x180a1b118 _dispatch_block_invoke_direct + 264 (queue.c:489)
25  FrontBoardServices              0x19287ef94 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157)
26  FrontBoardServices              0x19287e3d4 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181)
27  FrontBoardServices              0x1928829e4 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)
28  CoreFoundation                  0x180dc7020 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
29  CoreFoundation                  0x180dd7ce0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
30  CoreFoundation                  0x180d11fe8 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
31  CoreFoundation                  0x180d177f4 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
32  CoreFoundation                  0x180d2b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
33  GraphicsServices                0x19c6bb38c GSEventRunModal + 164 (GSEvent.c:2200)
34  UIKitCore                       0x1836cb6a8 -[UIApplication _run] + 1100 (UIApplication.m:3493)
35  UIKitCore                       0x18344a7f4 UIApplicationMain + 2092 (UIApplication.m:5046)
36  projectHome                 0x1026129cc main + 68 (AppDelegate.swift:19)
37  dyld                            0x1031f1a24 start + 520 (dyldMain.cpp:876)

Thread 0 name:
Thread 0 Crashed:
0   libsystem_kernel.dylib          0x00000001b7bec964 __pthread_kill + 8
1   libsystem_pthread.dylib         0x00000001f104c378 pthread_kill + 268 (pthread.c:1610)
2   libsystem_c.dylib               0x000000018bbe2f50 abort + 164 (abort.c:118)
3   projectHome                 0x0000000102afdbc4 uncaught_exception_handler + 80 (PLCrashReporter.m:373)
4   CoreFoundation                  0x0000000180e25c10 __handleUncaughtException + 632 (NSException.m:254)
5   libobjc.A.dylib                 0x0000000199420058 _objc_terminate() + 132 (objc-exception.mm:700)
6   projectHome                 0x0000000102af2314 MSCrashesUncaughtCXXTerminateHandler() + 740 (MSCrashesCXXExceptionHandler.mm:160)
7   libc++abi.dylib                 0x0000000199520f58 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
8   libc++abi.dylib                 0x0000000199520ef4 std::terminate() + 64 (cxa_handlers.cpp:88)
9   libdispatch.dylib               0x0000000180a17674 _dispatch_client_callout + 40 (object.m:563)
10  libdispatch.dylib               0x0000000180a1b118 _dispatch_block_invoke_direct + 264 (queue.c:489)
11  FrontBoardServices              0x000000019287ef94 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157)
12  FrontBoardServices              0x000000019287e3d4 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181)
13  FrontBoardServices              0x00000001928829e4 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)
14  CoreFoundation                  0x0000000180dc7020 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
15  CoreFoundation                  0x0000000180dd7ce0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
16  CoreFoundation                  0x0000000180d11fe8 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
17  CoreFoundation                  0x0000000180d177f4 __CFRunLoopRun + 820 (CFRunLoop.c:2951)
18  CoreFoundation                  0x0000000180d2b3b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
19  GraphicsServices                0x000000019c6bb38c GSEventRunModal + 164 (GSEvent.c:2200)
20  UIKitCore                       0x00000001836cb6a8 -[UIApplication _run] + 1100 (UIApplication.m:3493)
21  UIKitCore                       0x000000018344a7f4 UIApplicationMain + 2092 (UIApplication.m:5046)
22  projectHome                 0x00000001026129cc main + 68 (AppDelegate.swift:19)
23  dyld                            0x00000001031f1a24 start + 520 (dyldMain.cpp:876)
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum