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.