rsetkus
11/01/2020, 7:39 PMiosMain
platform target is set to Multiplatform (screenshot bellow). That causes issues on Mac machine. iosMain
cannot access platform code and have to duplicate code in iosArm64Main
and iosX64Main
. What platform target should be selected for iosMain
on which iosArm64
and iosX64
depends on?
Also, noticed that on Android Studio, using new KMM plugin, iosMain
platform is set to multiple values Native(ios_arm64), Native(ios_x64). Is it possible to achieve the same on Intellij (platform target is single selection field)?Big Chungus
11/01/2020, 10:29 PMrsetkus
11/02/2020, 9:34 AMBig Chungus
11/02/2020, 9:35 AMrsetkus
11/02/2020, 9:51 AMval commonMain by getting {
dependencies {
...
}
}
val androidMain by getting {
dependencies {
...
}
}
val iosMain by getting {
dependencies {
...
}
}
val iosX64Main by getting {
dependencies {
dependsOn(iosMain)
}
}
val iosArm64Main by getting {
dependencies {
dependsOn(iosMain)
}
}
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
Big Chungus
11/04/2020, 3:54 PMrsetkus
11/04/2020, 4:11 PMBig Chungus
11/04/2020, 5:21 PM