Does anyone know how to get code completion workin...
# multiplatform
s
Does anyone know how to get code completion working when importing a cocoapods module? It works in the iosX64Main source set, but doesn’t work in any of the other source sets.
đź‘€ 1
a
Hello, @spierce7! What other source sets do you mean? If this is about
iosMain
, or some other source set shared across several iOS targets, then this shouldn’t be supported until KT-41631 arrives. If the problem is about some particular target(e.g.
iosArm64Main
), please consider filing an issue at kotl.in/issue
s
https://youtrack.jetbrains.com/issue/KT-41631 seems to be the same issue. When is this expected to land?
a
cc @Viacheslav Kormushkin?
v
It should be in 1.5.3 already but cinterop commonization has to be enabled in gradle.properties explicitly
Copy code
kotlin.mpp.enableCInteropCommonization=true
🙏 1