flutter doctor Xcode installation is incomplete; a full installation is necessary for iOS development.

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

This command does the trick
Source

Also in C++: