This is the correct path for most cases,
when you want to use the latest version of Xcode.
If you need to use a different version,
specify that path instead.

Make sure the Xcode license agreement is signed by
either opening Xcode once and confirming or running
sudo xcodebuild -license from the command line.

Versions older than the latest stable version may still work,
but are not recommended for Flutter development.

With Xcode, you’ll be able to run Flutter apps on
an iOS device or on the simulator.

Set up the iOS simulator

To prepare to run and test your Flutter app on the iOS simulator,
follow these steps:

On your Mac, find the Simulator via Spotlight or
by using the following command:

    
$ open -a Simulator