I'm trying KMM. My problem is that Android Studio doesn't list any iOS emulator in Android Studio in the execution target section.
Like this:
Theoretically, I have everything in order to make it run, XCode opened the iOS part of the app, ran it well. Emulator is working fine from XCode. KDoctor says everything is fine (although have a bug about KMM plugin)
See the picture below:
So what can I do about this?
I tried every possible solution I found on stackoverflow and on JetBrains forums none of them helped.
Any suggestions?
Okay I found the answer to my problem.
You have to take the version compatibility table dead serious from here.
I my case, I was using Kotlin 2.0.21, that means I had to DOWNGRADE (uninstall and reinstall) an older version of XCode (16.0) as this compatibility table shows: