Hey, recently our app need adapt to new m1 MacBook and Big Sur. It crashed on newLibraryWithSource of Metal.framework when recompiling our app. I created a minimal demo originated from an official metal example to reproduce this problem. To trigger this crash a MacBook(m1 or intel cpu) with Big Sur is needed, besides there are three steps to follow after cloning my demo:
open project with xcode, switch target to HelloTriangle-macOS.
open File->Project Settings->Advanced, change Build Location to what containing Chinese characters.
open Product->Scheme->Edit Scheme, check Address Sanitizer for HelloTriangle-macOS target on Diagnostics tab.