The Metal project cannot be compiled if iOS Simulator is selected as the target.
You must connect a physical device and use it as a target when compiling the project.
As described in the answer to this question: iOS 8 Metal templates do not work .
: Xcode 11 "" iOS Simulator.