Search code examples
androidiosios-simulatorflutter

flutter run command does not launch in iOS Simulator


flutter run command does not launch in iOS Simulator. It launches good on Android simulator though. Using Mac. It seems to build the app only for Android.


Solution

    1. First ensure flutter doctor runs good and all necessary iOS components are installed.
    2. Then manually opened the Simulator app in the Mac.
    3. Then ensure the simulator shows up in flutter devices.
    4. Now if you run the flutter run command, it built the app for iOS and ran on the iOS Simulator.