App Rejected: Crashed on launch

All of my apps updates that I've submitted to AppStore were rejected because for the same reason.

We were unable to review your app as it crashed on launch...

Can someone help me with this please, I tried several solutions but no one worked for me.

This is the symbolicate crash log:

CrashReporter Key:   1dafb42d2dbd1da79e16faef5e76028416f833a4
Hardware Model:      iPad7,5
Process:             SIN [19601]
Path:                /private/var/containers/Bundle/Application/838EF599-1C12-4C96-BAF5-6D76775521CF/SIN.app/SIN
Identifier:          com.wecan.kingfoot
Version:             1.1.7 (7)
AppStoreTools:       13F15
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.wecan.kingfoot [8115]

Date/Time:           2022-05-15 13:42:15.9056 +0300
Launch Time:         2022-05-15 13:42:12.0905 +0300
OS Version:          iPhone OS 15.4.1 (19E258)
Release Type:        User
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


Last Exception Backtrace:
0   CoreFoundation                	       0x182ae170c __exceptionPreprocess + 216
1   libobjc.A.dylib               	       0x19a21cf04 objc_exception_throw + 56
2   Foundation                    	       0x184282b00 _userInfoForFileAndLine + 0
3   SIN                           	       0x102e6f60c -[GADOMIDStateWatcher adSessionDidBecomeActive:] + 168
4   SIN                           	       0x102e6ce24 -[GADOMIDSDK adSessionDidBecomeActive:] + 95
5   SIN                           	       0x102e61e20 -[GADOMIDAdSessionRegistry adSessionDidStart:] + 611
6   SIN                           	       0x102e5ef24 -[GADOMIDAdSession onStart] + 63
7   SIN                           	       0x102e6ba94 +[GADOMIDMethodInvoker performSelectorAsync:target:] + 91
8   SIN                           	       0x102e5eed4 -[GADOMIDAdSession start] + 275
9   SIN                           	       0x102e20608 -[GADAdVerificationReporter beginAdSession] + 3671560 (GADAdVerificationReporter.m:144)
10  SIN                           	       0x102e03934 -[GADAdVerificationMonitor beginAdSession] + 3553588 (GADAdVerificationMonitor.m:87)
11  SIN                           	       0x102e037b4 __113-[GADAdVerificationMonitor initWithAd:adView:friendlyObstructionView:mediaType:contentURL:impressionType:adType:]_block_invoke + 3553204 (GADAdVerificationMonitor.m:51)
12  Foundation                    	       0x1841ac26c __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
13  Foundation                    	       0x1841bd920 -[NSBlockOperation main] + 100
14  Foundation                    	       0x184197a8c __NSOPERATION_IS_INVOKING_MAIN__ + 20
15  Foundation                    	       0x1841a7f20 -[NSOperation start] + 764
16  Foundation                    	       0x1841ab368 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20
17  Foundation                    	       0x1841b8b7c __NSOQSchedule_f + 180
18  libdispatch.dylib             	       0x18274f540 _dispatch_block_async_invoke2 + 104
19  libdispatch.dylib             	       0x1827a2094 _dispatch_client_callout + 16
20  libdispatch.dylib             	       0x18274ed40 _dispatch_main_queue_drain + 928
21  libdispatch.dylib             	       0x18274e990 _dispatch_main_queue_callback_4CF$VARIANT$mp + 36
22  CoreFoundation                	       0x182a9cab4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
23  CoreFoundation                	       0x182a59fd8 __CFRunLoopRun + 2544
24  CoreFoundation                	       0x182a6cc30 CFRunLoopRunSpecific + 572
25  GraphicsServices              	       0x1a32a1988 GSEventRunModal + 160
26  UIKitCore                     	       0x185267c50 -[UIApplication _run] + 1080
27  UIKitCore                     	       0x1850013d0 UIApplicationMain + 336
28  SwiftUI                       	       0x18a2a7328 closure #1 in KitRendererCommon(_:) + 160
29  SwiftUI                       	       0x18a1f1dfc runApp<A>(_:) + 180
30  SwiftUI                       	       0x18a1d779c static App.main() + 96
31  SIN                           	       0x102aa747c main + 29820 (DocumentType.swift:0)
32  dyld                          	       0x1031043d0 start + 444

Kernel Triage:
VM - Fault hit memory shortage


Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib        	       0x1bc51fbbc __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1dcbcf854 pthread_kill + 208
2   libsystem_c.dylib             	       0x18d1fa0b0 __abort + 124
3   libsystem_c.dylib             	       0x18d1a56b0 abort + 136
4   libc++abi.dylib               	       0x19a314dd8 abort_message + 128
5   libc++abi.dylib               	       0x19a30555c demangling_terminate_handler() + 300
6   libobjc.A.dylib               	       0x19a2228e8 _objc_terminate() + 124
7   libc++abi.dylib               	       0x19a314274 std::__terminate(void (*)()) + 16
8   libc++abi.dylib               	       0x19a31421c std::terminate() + 60
9   libdispatch.dylib             	       0x1827a20a8 _dispatch_client_callout + 36
10  libdispatch.dylib             	       0x18274ed40 _dispatch_main_queue_drain + 928
11  libdispatch.dylib             	       0x18274e990 _dispatch_main_queue_callback_4CF$VARIANT$mp + 36
12  CoreFoundation                	       0x182a9cab4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
13  CoreFoundation                	       0x182a59fd8 __CFRunLoopRun + 2544
14  CoreFoundation                	       0x182a6cc30 CFRunLoopRunSpecific + 572
15  GraphicsServices              	       0x1a32a1988 GSEventRunModal + 160
16  UIKitCore                     	       0x185267c50 -[UIApplication _run] + 1080
17  UIKitCore                     	       0x1850013d0 UIApplicationMain + 336
18  SwiftUI                       	       0x18a2a7328 closure #1 in KitRendererCommon(_:) + 160
19  SwiftUI                       	       0x18a1f1dfc runApp<A>(_:) + 180
20  SwiftUI                       	       0x18a1d779c static App.main() + 96
21  SIN                           	       0x102aa747c main + 29820 (DocumentType.swift:0)
22  dyld                          	       0x1031043d0 start + 444

Answered by jaridev in 715592022

Found this question when looking solution for similar crash in my app. Though stack trace is not identical I have a crash caused by AdMob SDK 9.x.x versions. My app works fine when using 8.13.0 version. Version 9 seems to work on iPhone but not on iPad.

So changing Podfile line

pod ’Google-Mobile-Ads-SDK'

to 

pod ’Google-Mobile-Ads-SDK’, ’8.13.0’

and running pod update fixed it for me. Of course it would be nice to be able at some time upgrade to version 9.

Is KitRendererCommon a func of yours ?

  • If so, could you post the code of KitRendererCommon ?
  • If not, does it come from a third party library ? Which one ?

Is it used in all your apps ?

Accepted Answer

Found this question when looking solution for similar crash in my app. Though stack trace is not identical I have a crash caused by AdMob SDK 9.x.x versions. My app works fine when using 8.13.0 version. Version 9 seems to work on iPhone but not on iPad.

So changing Podfile line

pod ’Google-Mobile-Ads-SDK'

to 

pod ’Google-Mobile-Ads-SDK’, ’8.13.0’

and running pod update fixed it for me. Of course it would be nice to be able at some time upgrade to version 9.

Apple gave me a list of 5 crashlog txts, and I don't know what to do with them. XCode can't find them... not sure the steps. I've read Apple's guides but very confusing.

App Rejected: Crashed on launch
 
 
Q