App crashes on physical device but works in simulator

Hi

App works in iPhone simulator on mac but crashes on physical device at startup when deployed via TestFlight. Logs from both the physical device and test flight attched.

Any help would be appreciated.

Thanks

Regards

Consider this:

Exception Type:  EXC_CRASH (SIGABRT)

It typically means that the app has deliberately crashed (trapped) by calling abort. Now this:

Thread 0 Crashed:
0  libsystem_kernel.dylib   … __pthread_kill + 8 (:-1)
1  libsystem_pthread.dylib  … pthread_kill + 268 (pthread.c:1670)
2  libsystem_c.dylib        … abort + 180 (abort.c:118)
3  MyApp                    … sigabrt_signal_handler.cold.1 + 48 (mini-posix.c:226)
4  MyApp                    … sigabrt_signal_handler + 168 (mini-posix.c:224)
5  libsystem_platform.dylib … _sigtramp + 56 (sigtramp.c:116)
6  libsystem_pthread.dylib  … pthread_kill + 268 (pthread.c:1670)
7  libsystem_c.dylib        … abort + 180 (abort.c:118)
8  MyApp                    … xamarin_unhandled_exception_handler + 60 (runtime.m:1126)
9  MyApp                    … mono_invoke_unhandled_exception_hook + 132 (exception.c:1219)
10 MyApp                    … mono_jit_exec_internal + 56 (driver.c:1370)

Frame 8 suggests that something has thrown a language exception [1] which has gone unhandled and hence trapped. I don’t have any insight beyond that because I don’t maintain expertise in third-party tooling.

Your third-party tooling probably has standard techniques for investigating language exceptions like this, and I recommend that you research those via the support channel for that tooling.

Share and Enjoy

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

[1] I’m not sure if this is one of ours, per What is an exception?, or a C# language exception.

i have same problem. Are you found i solution.

App crashes on physical device but works in simulator
 
 
Q