If you still get this error even when Metal toolchain is installed, is because you try to run metal tool directly i.e. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal which will not work anymore
Try to use xcrun metal instead.