leandro
05/04/2022, 9:36 AMiosSimulatorArm64
. Looking at NativeBinaryTypes
, I found
fun embedBitcode(target: KonanTarget) = with(target) {
if (family in listOf(IOS, WATCHOS, TVOS) && architecture in listOf(ARM32, ARM64)) {
embedBitcodeForAppleDevices
} else {
BitcodeEmbeddingMode.DISABLE
}
}
(https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-gradle-plugin-api/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/mpp/NativeBinaryTypes.kt#L26-L32)
which does not consider OSX in listOf(IOS, WATCHOS, TVOS)
(or use Family.isAppleFamily
)
Is this this assumption correct? If so, does it seem like a bug, or is there a reason for it?