The cause of this is unclear, but this is a state in which Xcode is not properly detected. This problem can be resolved by opening the Mac terminal and running the following command.
sudo xcode-select --switch /Applications/Xcode.app
The cause of this is unclear, but this is a state in which Xcode is not properly detected. This problem can be resolved by opening the Mac terminal and running the following command.
sudo xcode-select --switch /Applications/Xcode.app