Closed Niphre closed 2 years ago
My guess is that you have too old version of XCode/Metal API installed. I can build it locally and Github Actions that also builds the code works as well https://github.com/emoon/bgfx-sys/runs/7392708477?check_suite_focus=true
I tested on another mac with Xcode 13 and the build worked fine, its definitely an Xcode version issue. My guess based on the MTLGPUFamily error mentioning the Apple7 family (the A14 and M1) is that bgfx requires at least Xcode 12, though unfortunately that doesn't seem to be listed anywhere in the bfgx documentation.
Building bgfx-sys v0.9 under MacOS Mojave using Cargo Build fails with the error: