TestFlight build crashes on open, built from an M1 MacBook

I updated my app on my new M1 and it works in the simulator and a linked iPhone simulator but once I build it and deploy it to Testflight it just instantly crashes.

It is running on 14.6, app support back to 14.2

Here is the output of the crash logs:

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

Last Exception Backtrace:
0   CoreFoundation                	0x185dca754 __exceptionPreprocess + 220 (NSException.m:199)
1   libobjc.A.dylib               	0x19a8917a8 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                	0x185cce874 -[NSException raise] + 16 (NSException.m:112)
3   three_w                       	0x10245e3bc GADApplicationVerifyPublisherInitializedAnalyticsCorrectly + 348 (GADAnalytics.m:294)
4   three_w                       	0x10240c6dc __22+[GADApplication load]_block_invoke_2 + 188 (GADApplication.m:164)
5   libdispatch.dylib             	0x1859b5a84 _dispatch_call_block_and_release + 32 (init.c:1466)
6   libdispatch.dylib             	0x1859b781c _dispatch_client_callout + 20 (object.m:559)
7   libdispatch.dylib             	0x1859ba968 _dispatch_queue_override_invoke + 756 (inline_internal.h:2557)
8   libdispatch.dylib             	0x1859c8fe0 _dispatch_root_queue_drain + 388 (inline_internal.h:2598)
9   libdispatch.dylib             	0x1859c97d8 _dispatch_worker_thread2 + 112 (queue.c:6765)
10  libsystem_pthread.dylib       	0x1d1a46768 0x1d1a43000 + 14184
11  libsystem_pthread.dylib       	0x1d1a4d74c 0x1d1a43000 + 42828

...

Thread 2 name:
Thread 2 Crashed:
0   libsystem_kernel.dylib        	0x00000001b3ffb334 0x1b3fd2000 + 168756
1   libsystem_pthread.dylib       	0x00000001d1a45a9c 0x1d1a43000 + 10908
2   libsystem_c.dylib             	0x000000018f178b90 abort + 104 (abort.c:110)
3   libc++abi.dylib               	0x000000019a972bb8 abort_message + 132 (abort_message.cpp:78)
4   libc++abi.dylib               	0x000000019a963ec8 demangling_terminate_handler() + 308 (cxa_default_handlers.cpp:67)
5   libobjc.A.dylib               	0x000000019a87005c _objc_terminate() + 144 (objc-exception.mm:701)
6   libc++abi.dylib               	0x000000019a971fa0 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
7   libc++abi.dylib               	0x000000019a971f2c std::terminate() + 48 (cxa_handlers.cpp:88)
8   libdispatch.dylib             	0x00000001859b7830 _dispatch_client_callout + 40 (object.m:562)
9   libdispatch.dylib             	0x00000001859ba968 _dispatch_queue_override_invoke + 756 (inline_internal.h:2557)
10  libdispatch.dylib             	0x00000001859c8fe0 _dispatch_root_queue_drain + 388 (inline_internal.h:2598)
11  libdispatch.dylib             	0x00000001859c97d8 _dispatch_worker_thread2 + 112 (queue.c:6765)
12  libsystem_pthread.dylib       	0x00000001d1a46768 0x1d1a43000 + 14184
13  libsystem_pthread.dylib       	0x00000001d1a4d74c 0x1d1a43000 + 42828

...

Thread 2 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x000000016dc02430   x5: 0x000000016dc029d0   x6: 0x000000000000006e   x7: 0x0000000000000500
    x8: 0xd56a22bfb20862dc   x9: 0xd56a22bedfc852dc  x10: 0x0000000000000002  x11: 0x0000000000000003
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000010  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x000000016dc03000  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000000d03  x21: 0x000000016dc030e0  x22: 0x0000000000000114  x23: 0x0000000000000000
   x24: 0x000000016dc030e0  x25: 0x0000000000000000  x26: 0x00000000000005ff  x27: 0x00000001e8c18400
   x28: 0x0000000002ffffff   fp: 0x000000016dc02940   lr: 0x00000001d1a45a9c
    sp: 0x000000016dc02920   pc: 0x00000001b3ffb334 cpsr: 0x40001000
   esr: 0x56000080  Address size fault

Last update to my app worked fine but it was on my old Intel MacBook Pro.

Any ideas why this might be happening? (I did not change anything except content in my app, no new packages)

I have tried:

  • Cleaning Pod file
  • Cleaned out all Google Tracking (just incase it was due to iOS 14.5)
  • Turned off ads (so no triggers for ads happen)
TestFlight build crashes on open, built from an M1 MacBook
 
 
Q