How do I do kotlin multiplatform with IntelliJ IDEA?

Answered

How could I run the iOS emulator on a multiplatform project? I can't select it from the configuration menu.

Thanks in advance.

0
7 comments

Make sure you installed all the plug-ins per https://www.jetbrains.com/help/kotlin-multiplatform-dev/multiplatform-setup.html .

If it doesn't help, file a bug at https://youtrack.jetbrains.com/newIssue?project=KT and attach the logs (Help | Collect Logs and Diagnostic Data).

-1

I made all the steps, but there is no Kotlin Multiplatform Mobile plugin available for IntelliJ?

On Android Studio it is and works pretty well.

0
​Greetings from JetBrains Support. 
Since the problem seems to be Kotlin-specific, our Kotlin team will take a look at it as soon as they get a chance. 
It might take a while to receive a reply, but rest assured that your request will be addressed.
0
Hello, Zpecter!

You can use IDEA for multiplatform development.
To generate a KMP project, use the following site: https://kmp.jetbrains.com/.

I am here to find the answer if you have more specific questions.

Thank you!
0

Hi Anton Mefodichev,

I know how to generate a KMP project, my problem is when I want to launch the project con an iOS Simulator on IntelliJ:

How do I run the iOS version for my KMP project? Because the Kotlin Multiplatform Mobile plugin is only available for Android Studio and not for IntelliJ.

0
Thank you for the clarification!
Unfortunately, indeed, KMM plugin does not support IDEA. We have a ticket regarding this issue: https://youtrack.jetbrains.com/issue/KT-41545/KMM-IntelliJ-IDEA-support-for-Kotlin-Multiplatform-Mobile-plugin
At this moment you can use supported Android Studio by the KMM plugin: https://plugins.jetbrains.com/plugin/14936-kotlin-multiplatform-mobile/versions/stable
0

Please sign in to leave a comment.