The problem is that Xcode Command-line Tools needs to be updated.
Go back to your terminal and hit:
xcode-select --install重启vscode即可
xcode-select --install