Is there a possibility to disable cinterop for sel...
# kotlin-native
f
Is there a possibility to disable cinterop for selected pods?
build.gradle.kts
Copy code
plugins {
        kotlin("native.cocoapods")
...
kotlin {
  cocoapods {
        pod("pod_a") {
            version = "1.0"
            source = path(project.file("../pod_a"))
        }
        pod("pod_b") {
            version = "1.0"
            source = path(project.file("../pod_b"))
        }
...
e.g. How can I disable cinterop for pod_a?
l
I believe they added the linkOnly option in 1.8.0, which will pull down the binary, but won’t do cinterop.
f
Thank you for the hint. Looks like it is only available for version 1.8.20-beta and up https://github.com/JetBrains/kotlin/commit/a24119858f156e18bbf40714e645137ce016371b