I am creating a KMM library, I added some document...
# multiplatform
p
I am creating a KMM library, I added some documentation to my methods and classes but those docs are not being shown in my XCFramework
j
might be that you need to add following
Copy code
kotlin {
    targets.withType<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget> {
        compilations.get("main").kotlinOptions.freeCompilerArgs += "-Xexport-kdoc"
    }
}
p
Thanks, this did the thing.
👍 1