when trying to run `./gradlew :ios:compileKonan` f...
# kotlin-native
j
when trying to run
./gradlew :ios:compileKonan
from terminal I get
error: you have not specified any compilation arguments. No output has been produced.
Any ideas why?
o
maybe no input source sets were found
j
thanks! I’ve started adding actual implementations and error changed 🙂 Now it can’t find expected declarations. As far as I can see, build.gradle files are almost the same as in example (that’s working), but it still throws errors like:
Copy code
ios/src/main/kotlin/crossplatform/io/Serializable.kt:3:18: error: actual interface 'Serializable' has no corresponding expected declaration
actual interface Serializable
Maybe thats because I haven’t implemented all of expected classes? Or should I recheck my build.gradle files?
s
Yes, your builds seems to be misconfigured: common module is not properly attached to the iOS one.
j
ok, I was looking for differences with my working example, and found that there I was usind
org.jetbrains.kotlin:kotlin-native-gradle-plugin
version 0.7, now I changed it to 0.9.2 and example stopped working too, with the same error 🙂 Is there anywhere a documentation what changed and what am I missing in my configs?