I try to develop a cross-mobile library. has anyone know how to implement "#ifdef DEBUG" in kotlin/native?
a
Artyom Degtyarev [JB]
03/10/2020, 7:51 AM
Hello! Kotlin/Native does not support this approach. It is recommended to use separate source sets and control which code will be used from the Gradle side. See also this discussion on the GH.