From 8f0999172b47ec6cff8f8e4b2e4ba75954ec190a Mon Sep 17 00:00:00 2001 From: Kaare Hansen Date: Mon, 7 Sep 2020 11:12:14 +0200 Subject: [PATCH] Made instructions for macOS more clear Without the additional steps an error like `error: failed to run custom build command for `gfx-backend-metal v0.3.3`` may occur. Additional steps copied from: https://github.com/gfx-rs/gfx/issues/2309#issuecomment-506130902 --- info/getting_started.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/info/getting_started.md b/info/getting_started.md index 7c8a7511288..5cef20e64cc 100644 --- a/info/getting_started.md +++ b/info/getting_started.md @@ -2,7 +2,10 @@ ## macOS Dependencies -Install the newest XCode from the App Store. This installs the required `metal` developer tools. +1. Install the newest XCode from the App Store. This installs the required `metal` developer tools. +2. Install the command line tools with `xcode-select --install`. This might do nothing on your machine. +3. If `xcode-select --print-path` prints `/Library/Developer/CommandLineTools…` +4. then run `sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer`. To run the examples, ensure [CMake is installed](https://cmake.org/install/) as it is required for `glsl-to-spirv`.