Check where your clang
is located:
which clang
It should be somewhere under /usr/bin/clang
.
In my case from old times it was coming from Miniconda that was put artificially on the command line PATH. Fix that so that clang comes from Xcode and that should bring you forward.