App crashes after testFlight release

Hello and thank you for reading.

This is my first time publishing an ios application and I am using Xamarin to publish my app to both Android and iOS (as requested by the client ).

Now the application deploys and works correctly when I run it via visual studio/Rider but when I push it to testflight (via azure pipeline and microsoft App Center) I get the following Crash report:

Answered by JonasTheCoder in 737614022

oke so after some triel and error I have found the problem: Apparently in Xamarin if you use EFCore then there is the possibility of mlink to stril the reflections used by it more info (and my saving grace) was found here: https://learn.microsoft.com/en-us/ef/core/get-started/xamarin#explore-the-code

Consider the crashing thread’s backtrace:

Thread 0 Crashed:
0   libsystem_kernel.dylib  … __pthread_kill + 8 (:-1)
1   libsystem_pthread.dylib … pthread_kill + 208 (pthread.c:1668)
2   libsystem_c.dylib       … abort + 124 (abort.c:118)
3   ***.iOS               	… 0x102550000 + 50156188
…

Your process has crashed itself by calling abort. It’s hard to say what’s causing that because there are no symbols for frame 3.

Code that calls abort often prints a diagnostic message beforehand. If you monitor the system log of the iOS device during this crash, you might be able to see that message. For various system log hints and tips, see Your Friend the System Log.

Failing that, the next step is either:

  • Symbolicate the crash report to uncover the identity of frames 17 through 3 in the above backtrace. For general advice on that front, see Adding Identifiable Symbol Names to a Crash Report. However, this may or may not be possible, or be useful, depending on how your third-party tools are set up.

  • Raise this issue with the support channel for your third-party tooling.

Share and Enjoy

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

oke so after a lot of trial and error I was finally able to get more out of the crash report and this is what I am able to get out of it:

I have also tried third party logging (Sentry) but I am unable to log anything as it seems that the error occurs before any of my code even starts as I have tried to start Sentrylogging at the start of the main.

Accepted Answer

oke so after some triel and error I have found the problem: Apparently in Xamarin if you use EFCore then there is the possibility of mlink to stril the reflections used by it more info (and my saving grace) was found here: https://learn.microsoft.com/en-us/ef/core/get-started/xamarin#explore-the-code

App crashes after testFlight release
 
 
Q