Whenever I try to run g++ in macos monterey it shows invalid active developer path
g++ --version
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Whenever I try to run g++ in macos monterey it shows invalid active developer path
g++ --version
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun