Are there any guides for debugging iOS kmp / compo...
# compose-ios
t
Are there any guides for debugging iOS kmp / compose multiplatform stack traces? I don't quite know where to begin. I had an app work on iOS, and after bumping a few libraries and moving to kotlin 2.1, I get a crash on start up.
Copy code
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: heron [64521]

Triggered by Thread:  0

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1054f1108 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x105473408 pthread_kill + 256
2   libsystem_c.dylib             	       0x1801704ec abort + 104
3   heron                         	       0x102a8abf0 (anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1::operator()() const + 20
4   heron                         	       0x102a8ab40 void (anonymous namespace)::$_0::operator()<(anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1>((anonymous namespace)::terminateWithUnhandledException(ObjHeader*)::$_1) + 48
5   heron                         	       0x102a8a964 (anonymous namespace)::terminateWithUnhandledException(ObjHeader*) + 12
6   heron                         	       0x102a8a950 (anonymous namespace)::processUnhandledException(ObjHeader*) + 616
7   heron                         	       0x102a8a5e4 (anonymous namespace)::TerminateHandler::kotlinHandler() + 244
8   libc++abi.dylib               	       0x1802ac4d8 std::__terminate(void (*)()) + 12
9   libc++abi.dylib               	       0x1802af61c __cxa_rethrow + 144
10  libobjc.A.dylib               	       0x180092f3c objc_exception_rethrow + 40
11  CoreFoundation                	       0x1804167f8 CFRunLoopRunSpecific + 812
12  GraphicsServices              	       0x1905e5b10 GSEventRunModal + 160
13  UIKitCore                     	       0x185b319dc -[UIApplication _run] + 796
14  UIKitCore                     	       0x185b35bd4 UIApplicationMain + 124
15  SwiftUI                       	       0x1d34b9040 closure #1 in KitRendererCommon(_:) + 164
16  SwiftUI                       	       0x1d34b8d68 runApp<A>(_:) + 84
17  SwiftUI                       	       0x1d323d01c static App.main() + 148
18  heron                         	       0x100857994 static iOSApp.$main() + 24 [inlined]
19  heron                         	       0x100857994 main + 36
20  dyld_sim                      	       0x1055c5410 start_sim + 20
21  dyld                          	       0x1057fe274 start + 2840
I'm not sure how to start investigating the kotlin cause if there's one. (edited)
r
I think this is where you would start + with Fleet you may debug iOS builds -> https://crashkios.touchlab.co/docs/misc/THE_PROBLEM
thank you color 1
t
Thanks so much!
Using fleet helped, thanks again!
r
Fleet is so slow and mostly unusable for me