Hi all, I'm trying to create a simple Android/iOS multiplatform project (
https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html#creating-the-shared-module) using IDEA CE. I'm running into issues with the
iosMain
module, where the IDE complains about Kotlin not being configured, while
androidMain
and
common
dir/module work fine. I've added it as a
sourceSet
in
build.gradle
, with and without the stdlib, tried the plugin DSL, restarted the IDE, invalidated caches, all with no avail.
Additionally, there seem to be no native dependencies available, meaning any import from e.g.
platform
is unrecognized. I've added the
<https://dl.bintray.com/jetbrains/kotlin-native-dependencies>
repo, but the issue remains.
Any ideas on how to resolve the two problems?