Let’s just try updating the xcode then run xcode-s...
# general
n
Let’s just try updating the xcode then run xcode-select --install and see if it fixes the problem.