The app runs completely fine when I debug it on an IOS simulator. But when I upload it to testflight and the app store it often crashes the first time I open the app after I have closed it for a while.
I get the crash when it still runs in the background but I don’t have the open open for at least 10 minutes.
I have build a Xamarin.Ios app with the following Nuget packages:
-Acr.UserDialogs
-MySqlConnector
-Plugin.AudioRecorder
-Syncfusion
-TextCopy
-Xam.Plugins.Forms.KeyboardOverlap
-Xam.Plugin.Settings
-Xamarin.CommunityToolkit
-Xamarin.IQKeyboardManager
here is the IOS crash report:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: OnderdelenTest.iOS [964]
Triggered by Thread: 15
Thread 15 name:
Thread 15 Crashed:
0 libsystem_kernel.dylib 0x00000001ef38342c __pthread_kill + 8 (:-1)
1 libsystem_pthread.dylib 0x0000000203122c0c pthread_kill + 268 (pthread.c:1721)
2 libsystem_c.dylib 0x00000001ae226c34 __abort + 136 (abort.c:159)
3 libsystem_c.dylib 0x00000001ae226bac abort + 192 (abort.c:126)
4 OnderdelenTest.iOS 0x0000000104b5cc30 0x102e04000 + 30772272
5 OnderdelenTest.iOS 0x0000000104a757b8 0x102e04000 + 29824952
6 OnderdelenTest.iOS 0x0000000104aefb50 0x102e04000 + 30325584
7 OnderdelenTest.iOS 0x0000000104ae95ec 0x102e04000 + 30299628
8 OnderdelenTest.iOS 0x0000000104ae79d0 0x102e04000 + 30292432
9 OnderdelenTest.iOS 0x0000000104af0158 0x102e04000 + 30327128
10 OnderdelenTest.iOS 0x0000000104aeffdc 0x102e04000 + 30326748
11 libsystem_pthread.dylib 0x000000020312106c _pthread_start + 136 (pthread.c:931)
12 libsystem_pthread.dylib 0x000000020311c0d8 thread_start + 8 (:-1)