Anyone has experienced this error? Selected scheme...
# multiplatform
p
Anyone has experienced this error? Selected scheme "iosApp" does not support "iphonesimulator". I am using Android Studio BumbleBee, Gradle distribution 7.2 Gradle tooling 7.1.0 Openjdk 11.0.11 The build is successful while I run the app using "Continue anyway" button, but app doesn't get installed in simulator.
p
check if you have
iosSimulatorArm64()
in
kotlin {}
configuration
t
I'm having the same issue, but
iosSimulatorArm64()
is added to the gradle file. Honestly this is just happening sometimes when you open up a new project generated from the wizard and don't do anything to the initial gradle file
So far this is an unresolved bug https://youtrack.jetbrains.com/issue/KTIJ-654
p
That's nice reasoning. So, creating project via command line or without wizard will be okay?
I wanted to convince my team to start KMM instead of something else, but this will hold me back for sometime now. 🙈
I just cloned https://github.com/Kotlin/kmm-basic-sample and it worked straight-away. All gradle files are same but wizard created project didn't and cloned one did run. Kinda agree to your point @Tony Kazanjian. Hope Beta fixes it. Thanks for your inputs.
t
@Prateek Sharma, KaMPKit is also a great project template where the simulator will work from an Android Studio build out of the box. Also a great example of a more advanced KMM app with Koin, Ktor, SqlDelight, coroutines w/ new memory model etc.
p
Ohh.. awesome. This is great. Thanks. Will read it thoroughly.