Android – How to open iOS Simulator in Android Studio for Flutter application

androidandroid-studioflutteriosios-simulator

Today I have started learning Flutter. I am using Android Studio in Mac.
I have already

  • Configured the Flutter and Dart plugins in Android studio.
  • Installed the Flutter SDK.

So I am able to run Flutter app in Android Emulator. However, when I select iOS simulator (Open iOS Simulator), it says this

Unable to find application named 'Simulator.app

enter image description here
I do not have any experience is XCode and I have not installed it in my Mac.

My questions are,

  1. How do I install the Simulator?
  2. Do I need the Xcode installed in Mac for running Simulator? (Does Simulator
    come with Xcode)
  3. My understanding was that installing the Flutter plugin in Android Studio will
    import iOS simulator as well. Am I wrong?

I found similar question but did not get the clarity.

Best Answer

You can also configure the Command Line Tools from Xcode, by opening Preferences > Locations and selecting it from dropdown.

After selecting Xcode version you can find iOS Simulator name in your Android Studio for flutter project.

enter image description here