Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features
Autoplay

    Run a Flutter App on iOS

    nader dabitnader dabit
    flutterFlutter

    In this lesson we’ll learn how to run a Flutter project on an iOS Simulator.

    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Transcript

    Transcript

    Instructor: 00:01 Before we can run our application on our iOS device, we first need to make sure that we have a device that's currently connected. To view a list of currently connected devices, we can run the Flutter devices command. This command will show a list of currently connected devices.

    00:16 Since we don't have any currently connected devices, we can run the Flutter emulators command to see a list of available devices. Here, we see our iOS simulator listed as apple_ios_simulator. To launch this device, we can run Flutter emulators--launch apple_ios_simulator.

    00:55 After the iOS simulator has been launched, we should be able to run Flutter devices again and see that we now have one connected device. We can now launch our application on our iOS device by running Flutter run.

    Discuss

    Discuss