Maurice Wingbermuhle
11/05/2020, 1:08 PMconfigure([iosX64Main, iosArm64Main]) {
dependsOn iosMain
}
use this:
iosArm64Main {
dependencies {
}
kotlin.srcDir("${projectDir}/src/iosMain/kotlin")
}
iosX64Main {
dependencies {
}
kotlin.srcDir("${projectDir}/src/iosMain/kotlin")
}
If you have any dependencies in iosMain
you need to duplicate them to the 2 specific variant. iosMain
needs to still exist, but is allowed to be empty. This restores my compiler setup for native platform code, including code completion.
I am still using HMPP for JVM targets, and that still works without any issue.