App Crashes in iOS 16. Unable to find crash reason

App was successfully running on iOS 15, build and pushed to appstore via Xcode 13.2.

But after iOS 16 beta release, app was continuously crashing at the launch step itself.Even on stable iOS 16 release also, the app crash continues. I tried to build the same app via Xcode 14 and pushed to App Store, which worked without any change in the code.

Can someone please help me on this?

Pretty hard to say.

Are you using third party library ?

I found a similar crash here: https://developer.apple.com/forums/thread/710920

with some advices from Quinn:

Looking at your crash report I see the standard stuff in apps like this. Your app has crashed due to an unhandled language exception that’s being thrown by RCTFatal. The answers you seek may lie within the third-party runtime you’re using

I don't know which third party library is causing the issue. Which library throws this RCTFatal and I don't see one in my crash report. Cant able to troubleshoot further because of the unknown. Could you provide some additional infos on resolving this furthermore

I’m not sure whether this is the same issue that Claude31 pointed you at. However, the way forward here is clear. Your crash report makes it clear that thread 4 triggered the crash:

Thread 4 Crashed:
0   Freshsales              … 0x100894000 + 17443388
1   Freshsales              … 0x100894000 + 17268456
2   libsystem_pthread.dylib … thread_start + 8

The critical frames the backtrace, frames 0 and 1, are in your code but are not symbolicated. That makes it hard to offer any concrete suggestions. I recommend that you symbolicate your crash report, using the instructions in Adding Identifiable Symbol Names to a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi eskimo, Thanks. But after symbolicating I found these runtime.mach_msg_trap + 36, runtime.mach_msg + 80 . This makes hard to proceed further.

But after symbolicating I found these runtime.mach_msg_trap + 36, runtime.mach_msg + 80.

Wha!?!

The second column of thread 4’s backtrace shows that these symbols are coming from Freshsales, you’re app’s Mach-O image. It sounds like you’re using third-party tooling that’s making system calls directly. This is not supported on any Apple platform. If you want to make a system call, you must call the relevant routine exported by libSystem.

I recommend that you escalate this with the tool’s vendor.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App Crashes in iOS 16. Unable to find crash reason
 
 
Q