Same here. However, got another error when run the xcode-select
MBP$ sudo xcode-select -switch /Library/Developer/CommandLineTools
xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools'
Do I need to reinstall the xcode after upgrade to Big Sur?