Is it possible to debug Kotlin in Xcode 12? I foll...
# multiplatform
c
Is it possible to debug Kotlin in Xcode 12? I followed instructions here https://github.com/touchlab/xcode-kotlin/issues/16 but I can't set breakpoints in Kotlin.
m
You can set breakpoints manually in lldb
(lldb) break -f YourFile.kt -l 42
c
Interesting information, thanks! However I was hoping for something more developer friendly 🙂
m
Another option would be to debug from Android Studio with the kmm plugin but I think this is broken with XCode 12 😕
c
Thanks
m
Sorry I don't have a better answer...
Someone more knowledgeable with
xcode-kotlin
might know how to make it work
s
@mbonnin I see something similar trying to debug from A.S.. It builds the iOS code fine until the linker tries to link the ARM64 version some cocoapods (instead of the X86_64 ones for the simulator). Do you see the same issue?
m
👍 1
You can make it build by excluding
arm64
from the architectures in XCode but it still won't start in the emulator from AS