Could you please help me find the cause of this crash? It happens only when I archive and run it through test flight (via Xcode it runs smoothly). It happens while launching the app
Xcode 12, iOS 15, Can't find the cause of a crash
Exception Type: EXC_CRASH (SIGABRT)
This mean that your app crashed itself by calling abort
. The most common cause of this is an unhandled language exception, and that’s confirmed be the presence of the Last Exception Backtrace
section.
0 CoreFoundation … __exceptionPreprocess + 220
1 libobjc.A.dylib … objc_exception_throw + 60
2 CoreFoundation … +[NSObject(NSObject) _copyDescription] + 0
3 CoreFoundation … ___forwarding___ + 1728
4 CoreFoundation … _CF_forwarding_prep_0 + 96
5 SDKNetwork … -[IMRequestsManager checkContentType:] + 88
Frame 5 is your code. Frames 4 through 0 sugest that it’s called an invalid method an on object, most likely because of a memory management problem.
I recommend that you symbolicate this log to uncover the exact line of code for frame 5. See Adding Identifiable Symbol Names to a Crash Report.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Did you ever find a solution to this? I'm experiencing a similar problem.