Skip to content

Commit

Permalink
Merge #3369
Browse files Browse the repository at this point in the history
3369: Made instructions for macOS more clear r=grovesNL a=KaareZ

Without the additional steps, an error like `error: failed to run custom build command for `gfx-backend-metal v0.3.3`` may occur. Tested on a fresh install of macOS 10.15.6

Additional steps copied from comment:
#2309 (comment)


Co-authored-by: Kaare Hansen <[email protected]>
  • Loading branch information
bors[bot] and KaareH authored Sep 7, 2020
2 parents b34a15c + 8f09991 commit c427128
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion info/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit c427128

Please sign in to comment.