How to setup Xcode Simulator to run Flutter apps using Android Studio Easily

In this short article, you will learn how to set up Xcode Simulator in Android studio when working with Flutter. I faced this issue while setting up Xcode Simulator to run my Flutter app, so I decided to write the solution I found.

iOS setup

Firstly, you have to install Xcode on your MacBook to develop Flutter apps for iOS

Note: you need a MacBook

Secondly, you configure the Xcode command-line tools to use the newly-installed version of Xcode by running the following from the command line:

$ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

For a beta version of Xcode Installed on your MacBook please use the below command

sudo xcode-select -s /Applications/Xcode-Beta.app/Contents/Developer

Thirdly, run your flutter app with the below command

open -a Simulator

or you use the Android studio run button.

Thanks for reading my article.

--

--

A software engineer with considerable experience in mobile development, native Android, and IOS development(Xcode), flutter dev, technical writing and community

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nwokocha Wisdom Maduabuchi

A software engineer with considerable experience in mobile development, native Android, and IOS development(Xcode), flutter dev, technical writing and community