anyone know what would cause debugging grayed out ...
# compose-ios
b
anyone know what would cause debugging grayed out for ios? just trying to step through my compose multiplatform code when running on iOS, this is because I have some specific expect/actual code for iOS platform
v
I am not sure about
Fleet
but
Android Studio
definitely does not support debugging
iOS
apps. Think about it,
running
is done by a script pretty much while
debugging
requires a constant back and forth between
device
and
IDE
. You will most likely have to rely on logs to figure out what you need.
b
it seems like turning on expiremental kmp support in android studio allows me to debug ios
👍 1
v
Interesting
c
You can definitely debug the Kotlin side of iOS apps! You must setup the app correctly to have the debugger work for the iOS side, and some versions of AS had issues with this in the past, but seems to have worked out in the latest builds of AS. To debug the Swift code, you will need to launch from XCode, and set the breakpoints in the Swift code from XCode. Hope this helps!
v
Thank you @Chris Athanas! I must have an older version of Android Studio which is why it is not working. Or perhaps I didn't set up the app correctly. But its nice knowing it's supposed to work.
👍 1