Kotlin Native: Compile Framework fails


#1

Hi there!

I’m trying to compile a Kotlin Native framework based of a Common Kotlin Library with Gradle. However, when I call gradle run, the following error is thrown error: you have not specified any compilation arguments. No output has been produced..

This is my build.gradle file:

apply plugin: 'konan'

konan.targets = ['iphone', 'iphone_sim']

konanArtifacts {
    framework('KotlinNative') {
        enableMultiplatform true
        libraries {
            allLibrariesFrom project(':common-native')
        }
    }
}

Does anyone know how to solve this issue? :slight_smile:

Looking forward to your response!