Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting 'Selected scheme "iosApp" does not support "iphonesimulator"' error for Kotlin Multiplatform

I am trying to run the initial example apps generated by the Kotlin Multi Platform Mobile plugin in Android Studio. I followed these steps for my environment setup. The Android Simulator runs correctly, but the iPhone Simulator does not. The Run Configuration has the following error:

Error: Selected scheme "iosApp" does not support "iphonesimulator"

When I run the configuration (ignoring the error), the iPhone simulator does open and appears to load iOS, but it never loads the "Hello, iOS" application that is in Android Studio.

What would cause this?

Version Information:

  • macOS 12.2.1
  • Android Studio 2021.1.1 Patch 2
  • Xcode 13.3
like image 894
Bill Avatar asked Oct 18 '25 13:10

Bill


1 Answers

I fixed it with the following method.

  • Please close the Android Studio.
  • Go to ~/Library/LaunchAgents/ folder and delete com.jetbrains.AppCode.BridgeService.plist there.
  • Launch Android Studio with the KMM plugin again. It should work now.
like image 135
bvlion Avatar answered Oct 20 '25 15:10

bvlion



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!