You’ll learn how to set up Xcode Simulator when working with Flutter in Android Studio. I found that many people are not aware of this so I penned down this article!
This is the app that I developed using flutter, link for the app is available at end of the article.
Firstly, you have to install Xcode on your MacBook to develop Flutter apps for iOS.
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
Thirdly, run your flutter app with the below command
open -a Simulator