flutter Xcode installation is incomplete; a full installation is necessary for iOS development. code example
Example: flutter doctor Xcode installation is incomplete; a full installation is necessary for iOS development.
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
This command does the trick