I got the same error and I solve it using this
xcode-select --install
https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcr...
I got the same error and I solve it using this
xcode-select --install
https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcr...