The app crashes in the App Store when operating on iPhone with iOS v15.2/15.3.1.

My application is currently crashing in production in iPad devices running iOS 15.x. The app will work as normal while running developer mode, enterprise builds and Test Flight builds. Unfortunately, I am unable to reproduce the issue even app is downloaded from the app store. Can someone help me to fix this issue?

Please find the crash log details attached.

When exactly does it crash ? Immediately at launch ? After launch screen ? It seems early in your main. Could you show the full code of

@main
class AppDelegate

If appears that after app launch, a view controller is being presented leading up to the crash

This issue I am not able to reproduce. But in the App store crash analytic I found more crashes. I am still investigating on crash logs. Please find my "AppDelegate. m" file attached. Thank you in advance.

My unity app crashes on launch This is the error

Fatal Exception: NSInternalInconsistencyException UIViewController is missing its initial trait collection populated during initialization. This is a serious bug, likely caused by accessing properties or methods on the view controller before calling a UIViewController initializer. View controller: <CTAlertViewController: 0x104d96140>

The app crashes in the App Store when operating on iPhone with iOS v15.2/15.3.1.
 
 
Q