Unable to Determine the source of the crash.

When the app is connected to Xcode it runs fine, but on standalone, immediately crashes upon launching.

Any clues?

this is the dump:

Incident Identifier: 0579DD2C-434F-4431-AF8F-475835A09A32 CrashReporter Key:   b6993b2936679c6c0eb6e0ae58ffb58b24402aff Hardware Model:      iPhone14,3 Process:             ajwaa [6889] Path:                /private/var/containers/Bundle/Application/206D3979-8892-4C8F-8431-4827BDB7A944/ajwaa.app/ajwaa Identifier:          com.snrgx.ajwaa Version:             1.0 (5)

Code Type:           ARM-64 (Native) Role:                Foreground Parent Process:      launchd [1] Coalition:           com.snrgx.ajwaa [1680] Date/Time:           2023-02-01 13:44:03.3843 +0300 Launch Time:         2023-02-01 13:44:03.3359 +0300 OS Version:          iPhone OS 16.3 (20D47) Release Type:        User Baseband Version:    2.40.01 Report Version:      104

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

Application Specific Information: abort() called

Last Exception Backtrace: 0   CoreFoundation                       0x1b16cce38 __exceptionPreprocess + 164 1   libobjc.A.dylib                      0x1aa85b8d8 objc_exception_throw + 60 2   CoreFoundation                       0x1b184181c +[NSObject(NSObject) _copyDescription] + 0 3   CoreFoundation                       0x1b16e2f50 forwarding + 1592 4   CoreFoundation                       0x1b174b320 _CF_forwarding_prep_0 + 96 5   CoreFoundation                       0x1b172d240 _CFLocaleCreateLocaleIdentifierForAvailableLocalizations + 76 6   CoreFoundation                       0x1b1725368 _CFLocaleCopyCurrentGuts + 816 7   CoreFoundation                       0x1b174e184 +[NSLocale currentLocale] + 16 8   Foundation                           0x1aba61dcc -[NSUserDefaults(NSUserDefaults) init] + 1132 9   Foundation                           0x1aba5fd6c +[NSUserDefaults(NSUserDefaults) standardUserDefaults] + 64 10  UIKitCore                            0x1b3d2a4cc ___UIApplicationMainPreparations_block_invoke + 64 11  libdispatch.dylib                    0x1b8ce3460 _dispatch_call_block_and_release + 32 12  libdispatch.dylib                    0x1b8ce4f88 _dispatch_client_callout + 20 13  libdispatch.dylib                    0x1b8cf6b8c _dispatch_root_queue_drain + 684 14  libdispatch.dylib                    0x1b8cf7284 _dispatch_worker_thread2 + 164 15  libsystem_pthread.dylib              0x1ff944dbc _pthread_wqthread + 228 16  libsystem_pthread.dylib              0x1ff944b98 start_wqthread + 8

Thread 0 name:   Dispatch queue: com.apple.main-thread Thread 0: 0   libsystem_kernel.dylib               0x1ef1e18e0 __ulock_wait + 8 1   libdispatch.dylib                    0x1b8ce5978 _dlock_wait + 56 2   libdispatch.dylib                    0x1b8ce58a8 _dispatch_once_wait + 112 3   UIKitCore                            0x1b3a0fdf0 -[_UIApplicationConfigurationLoader _loadInitializationContext] + 152 4   UIKitCore                            0x1b3a0f524 -[_UIApplicationConfigurationLoader applicationInitializationContext] + 24 5   UIKitCore                            0x1b3c3ae4c -[_UIDeviceInitialDeviceConfigurationLoader initialDeviceContext] + 92 6   UIKitCore                            0x1b3c3ad50 __44+[UIDevice(UIDeviceInternal) _hasHomeButton]_block_invoke + 48 7   libdispatch.dylib                    0x1b8ce4f88 _dispatch_client_callout + 20 8   libdispatch.dylib                    0x1b8ce67d4 _dispatch_once_callout + 32 9   UIKitCore                            0x1b3ae02d0 +[UIDevice(UIDeviceInternal) _hasHomeButton] + 64 10  UIKitCore                            0x1b3c46dd8 -[_UIApplicationInfoParser _computeSupportedInterfaceOrientationsWithInfo:] + 152 11  UIKitCore                            0x1b3c46c70 -[_UIApplicationInfoParser _initWithApplicationPlistData:] + 1296 12  UIKitCore                            0x1b3c46748 -[_UIApplicationInfoParser _initWithBundle:] + 48 13  UIKitCore                            0x1b3c466e4 __48+[_UIApplicationInfoParser mainBundleInfoParser]_block_invoke + 68 14  libdispatch.dylib                    0x1b8ce4f88 dispatch_client_callout + 20 15  libdispatch.dylib                    0x1b8ce67d4 dispatch_once_callout + 32 16  UIKitCore                            0x1b3aa4fd4 +[UIApplicationInfoParser mainBundleInfoParser] + 80 17  UIKitCore                            0x1b3aa4358 -[UIApplication init] + 480 18  UIKitCore                            0x1b3aa4068 UIApplicationInstantiateSingleton + 112 19  UIKitCore                            0x1b45d5f94 UIApplicationMainPreparations + 932 20  UIKitCore                            0x1b3c392b8 UIApplicationMain + 320 21  libswiftUIKit.dylib                  0x1ba266308 UIApplicationMain(::::) + 104 22  ajwaa                                0x1008a48f8 static UIApplicationDelegate.main() + 104 23  ajwaa                                0x1008a4880 static AppDelegate.$main() + 44 24  ajwaa                                0x1008a497c main + 28 25  dyld                                 0x1d003c960 start + 2528

Thread 1 name:   Dispatch queue: com.apple.root.user-interactive-qos Thread 1 Crashed: 0   libsystem_kernel.dylib               0x1ef1e7674 __pthread_kill + 8 1   libsystem_pthread.dylib              0x1ff94b1ac pthread_kill + 268 2   libsystem_c.dylib                    0x1b8d48c8c abort + 180 3   libc++abi.dylib                      0x1ff88ab8c abort_message + 132 4   libc++abi.dylib                      0x1ff87aa80 demangling_terminate_handler() + 336 5   libobjc.A.dylib                      0x1aa861d3c _objc_terminate() + 144 6   libc++abi.dylib                      0x1ff889f28 std::__terminate(void (*)()) + 20 7   libc++abi.dylib                      0x1ff889ec4 std::terminate() + 56 8   libdispatch.dylib                    0x1b8ce4f9c _dispatch_client_callout + 40 9   libdispatch.dylib                    0x1b8cf6b8c _dispatch_root_queue_drain + 684 10  libdispatch.dylib                    0x1b8cf7284 _dispatch_worker_thread2 + 164 11  libsystem_pthread.dylib              0x1ff944dbc _pthread_wqthread + 228 12  libsystem_pthread.dylib              0x1ff944b98 start_wqthread + 8

okay, found the main source of the issue! It was due to language selection in the main view controller which was causing the app to crash on missing language .lprog!

Unable to Determine the source of the crash.
 
 
Q