https://kotlinlang.org logo
Title
s

soderbjorn

04/13/2023, 8:52 PM
Hey, very excited about Compose for iOS (and Compose multi-platform in general)! I had a great experience with Compose Desktop. Anyway -- I opened the Compose multi-platform iOS Android template, following the instructions carefully, but I did not get an iOS run configuration in Android Studio. When opening the Run/Debug configurations editor to tweak it per the instructions, I see only
androidApp
under
Android App
. Is it just me missing something (probably! 😊), or is something missing in the sample itself?
k

Konstantin Tskhovrebov

04/13/2023, 8:56 PM
Did you install KMM plugin?
s

soderbjorn

04/13/2023, 9:16 PM
Wow -- it was in fact listed as "installed", but appeared to have been disabled or something - after fiddling with it, now it works! Incredibly cool. Thank you so much!
k

Konstantin Tskhovrebov

04/13/2023, 9:26 PM
If you used kdoctor, it would report the problem
s

soderbjorn

04/13/2023, 9:29 PM
It's weird but it did not - I spent hours at first to satisfy kdoctor (getting the right ruby version to run by default, etc, having no Ruby familiarity) but eventually kdoctor was satisfied. However, on first loading the project I discovered I needed to upgrade Android Studio as well (in order to support the required Gradle plugin version), so perhaps if I had re-run kdoctor at that stage it would have reported the issue.