Home > OS >  iOS simulator not found in KMM project
iOS simulator not found in KMM project

Time:07-26

I'm trying to build a KMM project using Android Studio. I can see two separate configurations as well, each for AndroidApp and iOSApp. But the iOSApp configuration doesn't have an Execution target. Neither does it show any simulators in the dropdown. I do have Xcode installed and have run other iOS apps successfully in the iPhone Simulator.

p.s. I'm on M1 mac

enter image description here

CodePudding user response:

once you run the project you'll see a iosApp.xcodeproj file being generated .. make sure your android studio pane is in project mode.

Once a successful build is done you'll be able to open this .xcodeproj file from within xcode

I have not been able to do that as well. If there is a build failure the reason is it is not finding the common folder. To do that open the terminal and run gradlew tasks.There should be a task allowing you to ready the shared folder with xcode

CodePudding user response:

First select the device in which device you want to use in simulator then find build option and then click on it, your simulator automatically will popup on the screen

  • Related