A quick question, if I want to compile both iosX64 and iosArm64 that shares the same directory, e.g.
iosMain/kotlin
. How should I go about it?
kotlin {
targets {
fromPreset(presets.android, ‘android’)
fromPreset(presets.iosArm64, ‘ios’) {
compilations.main.outputKinds(‘FRAMEWORK’)
}
}
h
hmole
01/10/2019, 7:09 AM
Pass preset to gradle and run compilation twice for each of them
p
pandawarrior
01/10/2019, 10:00 AM
Pass preset to gradle and run compilation twice? What do you mean by that? 🙂