App crashes on TestFlight

My app works fine when run from Xcode on iPhone but crashes when run from TestFlight. The Build Configuration for Run & Archive is Release. The log from my iPhone is below. Please help.

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

Application Specific Information: abort() called

Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get

Thread 0 Crashed: 0  libsystem_kernel.dylib               0x1bbd9fbbc __pthread_kill + 8

Thread 1 name: com.apple.uikit.eventfetch-thread Thread 1: 0  libsystem_kernel.dylib               0x1bbd99aac mach_msg_trap + 8

Thread 2 name: com.apple.coremedia.rootQueue.47 Thread 2: 0  libsystem_kernel.dylib               0x1bbd99b00 semaphore_timedwait_trap + 8

Thread 3 name: com.apple.coremedia.rootQueue.47 Thread 3: 0  libsystem_kernel.dylib               0x1bbd99b00 semaphore_timedwait_trap + 8

Thread 4 name: com.apple.NSURLConnectionLoader Thread 4: 0  libsystem_kernel.dylib               0x1bbd99aac mach_msg_trap + 8

Thread 5: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 6: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 7: 0  VGravesite                           0x10500a100 0x104dc8000 + 2367744

Thread 8: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 9: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 10: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 11: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 12: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 13: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 14: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 15: 0  libsystem_pthread.dylib              0x1dc7e7a30 pthread_mutex_lock$VARIANT$armv81 + 120

Thread 16: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 17: 0  libsystem_pthread.dylib              0x1dc7e7934 start_wqthread + 0

Thread 18 name: JavaScriptCore libpas scavenger Thread 18: 0  libsystem_kernel.dylib               0x1bbd9a484 __psynch_cvwait + 8

Thread 0 crashed with ARM Thread State (64-bit):    x0: 0x0000000000000000  x1: 0x0000000000000000  x2: 0x0000000000000000  x3: 0x0000000000000000    x4: 0x0000000198e9bea1  x5: 0x000000016b0363b0  x6: 0x000000000000006e  x7: 0xffffffff000b3000    x8: 0x0000000105554580  x9: 0x4130cd11e1b0a6d0 x10: 0x0000000000000200 x11: 0x000000000000000b   x12: 0x0000000000000000 x13: 0x0000000008c1f800 x14: 0x0000000000000010 x15: 0x0000000000000000   x16: 0x0000000000000148 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000006   x20: 0x0000000000000103 x21: 0x0000000105554660 x22: 0x000000028372a640 x23: 0x0000000000000000   x24: 0x0000000002ffffff x25: 0x0000000105554660 x26: 0x000000000000000f x27: 0x0000000000000000   x28: 0x000000028372a640  fp: 0x000000016b036320  lr: 0x00000001dc7f3854    sp: 0x000000016b036300  pc: 0x00000001bbd9fbbc cpsr: 0x40000000   far: 0x00000001f7f1f948 esr: 0x56000080 Address size fault

Binary Images:       0x1bbd99000 -       0x1bbdccfff libsystem_kernel.dylib arm64 <09e1dcdbe2c93f7ebbfc96dec6c161da> /usr/lib/system/libsystem_kernel.dylib       0x1dc7e6000 -       0x1dc7f6fff libsystem_pthread.dylib arm64 <5190be2141d433619249bfdc03b71e36> /usr/lib/system/libsystem_pthread.dylib       0x104dc8000 -       0x10507ffff VGravesite arm64 <185d99c3e55d3699a7c05b088097d05b> /private/var/containers/Bundle/Application/4F7D1667-E113-483C-9660-F668BD803E44/VGravesite.app/VGravesite

EOF

I finally got the log symbolicated as below. I hope that will help.

Incident Identifier: B8221F94-9EEB-4226-868C-D224F62CF21D Beta Identifier: 541A8818-F2A8-4DF1-80CD-18C518319238 Hardware Model: iPhone10,3 Process: VGravesite [2800] Path: /private/var/containers/Bundle/Application/4F7D1667-E113-483C-9660-F668BD803E44/VGravesite.app/VGravesite Identifier: com.ogbonnaya.VGravesite Version: 0.1.0 (211) AppStoreTools: 13F100 AppVariant: 1:iPhone10,3:15 Beta: YES Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.ogbonnaya.VGravesite [579]

Date/Time: 2022-07-28 02:35:04.5082 -0700 Launch Time: 2022-07-28 02:33:41.1246 -0700 OS Version: iPhone OS 15.5 (19F77) Release Type: User Baseband Version: 7.61.00 Report Version: 104

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

Application Specific Information: abort() called

Kernel Triage: VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get VM - Compressor failed a blocking pager_get

Thread 0 Crashed: 0 libsystem_kernel.dylib 0x1bbd9fbbc __pthread_kill + 8

Thread 1 name: com.apple.uikit.eventfetch-thread Thread 1: 0 libsystem_kernel.dylib 0x1bbd99aac mach_msg_trap + 8

Thread 2 name: com.apple.coremedia.rootQueue.47 Thread 2: 0 libsystem_kernel.dylib 0x1bbd99b00 semaphore_timedwait_trap + 8

Thread 3 name: com.apple.coremedia.rootQueue.47 Thread 3: 0 libsystem_kernel.dylib 0x1bbd99b00 semaphore_timedwait_trap + 8

Thread 4 name: com.apple.NSURLConnectionLoader Thread 4: 0 libsystem_kernel.dylib 0x1bbd99aac mach_msg_trap + 8

Thread 5: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 6: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 7: 0 VGravesite 0x10500a100 -[APMSqliteStore valueAtColumn:forStatement:] + 0

Thread 8: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 9: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 10: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 11: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 12: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 13: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 14: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 15: 0 libsystem_pthread.dylib 0x1dc7e7a30 pthread_mutex_lock$VARIANT$armv81 + 120

Thread 16: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 17: 0 libsystem_pthread.dylib 0x1dc7e7934 start_wqthread + 0

Thread 18 name: JavaScriptCore libpas scavenger Thread 18: 0 libsystem_kernel.dylib 0x1bbd9a484 __psynch_cvwait + 8

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000198e9bea1 x5: 0x000000016b0363b0 x6: 0x000000000000006e x7: 0xffffffff000b3000 x8: 0x0000000105554580 x9: 0x4130cd11e1b0a6d0 x10: 0x0000000000000200 x11: 0x000000000000000b x12: 0x0000000000000000 x13: 0x0000000008c1f800 x14: 0x0000000000000010 x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x0000000000000002 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000000000103 x21: 0x0000000105554660 x22: 0x000000028372a640 x23: 0x0000000000000000 x24: 0x0000000002ffffff x25: 0x0000000105554660 x26: 0x000000000000000f x27: 0x0000000000000000 x28: 0x000000028372a640 fp: 0x000000016b036320 lr: 0x00000001dc7f3854 sp: 0x000000016b036300 pc: 0x00000001bbd9fbbc cpsr: 0x40000000 far: 0x00000001f7f1f948 esr: 0x56000080 Address size fault

Binary Images: 0x1bbd99000 - 0x1bbdccfff libsystem_kernel.dylib arm64 <09e1dcdbe2c93f7ebbfc96dec6c161da> /usr/lib/system/libsystem_kernel.dylib 0x1dc7e6000 - 0x1dc7f6fff libsystem_pthread.dylib arm64 <5190be2141d433619249bfdc03b71e36> /usr/lib/system/libsystem_pthread.dylib 0x104dc8000 - 0x10507ffff VGravesite arm64 <185d99c3e55d3699a7c05b088097d05b> /private/var/containers/Bundle/Application/4F7D1667-E113-483C-9660-F668BD803E44/VGravesite.app/VGravesite

EOF

App crashes on TestFlight
 
 
Q