Hi, I'm trying to update from kotlin 1.3.31 to kot...
# announcements
a
Hi, I'm trying to update from kotlin 1.3.31 to kotlin 1.3.40, and noticed that:
Copy code
Starting from 1.3.40, the compilations.outputKinds is no longer supported, please use the binaries API instead.
Can anyone help me to convert this line of gradle into "binaries API"?
Copy code
fromPreset(project.hasProperty('iosDevice') ? presets.iosArm64 : presets.iosX64, 'ios') {
            compilations.main.outputKinds 'framework'
        }
a
You need to write something like in this example, https://github.com/JetBrains/kotlin-native/blob/master/FAQ.md#q-how-do-i-specify-a-custom-objective-c-prefixname-for-my-kotlin-framework
Copy code
fromPreset(project.hasProperty('iosDevice') ? presets.iosArm64 : presets.iosX64, 'ios') {
            binaries.framework()
        }
a
Thanks!