https://kotlinlang.org logo
Title
j

Juniper Photon

05/20/2023, 2:58 AM
Hi folks. Any ideas why I can’t find the iOS app in the configuration list while trying to run the template app? I tried the latest Android Studio and IDEA and still have this issue. KDoctor checks no issues and I have the entire iOS develop environment.
j

Joel Denke

05/20/2023, 9:19 AM
Have you done complete successful Gradle sync? Had same issues where was problem with iOS gradle config and commented out until successful.
j

Juniper Photon

05/20/2023, 9:22 AM
Yes, it synced successfully. And if I target Android, it runs successfully on my Android device.
j

Joel Denke

05/20/2023, 9:23 AM
Hmm weird, that was thing worked for me and then appeared iOS. Tried the steps in iOS multiplatform template, like add stuff from Xcode and import config into run config?
k

krzysztof

05/20/2023, 1:11 PM
Make sure that Kotlin Multiplatform Mobile plugin is installed
j

Juniper Photon

05/21/2023, 11:55 AM
Thanks @krzysztof, I manually download and install the plugin from here and it solved my issue. But I wonder why KDoctor checks no issues?
k

krzysztof

05/21/2023, 12:07 PM
I believe it's because it does not check if plugin is installed or the plugin is compatible with IDE