This guide will walk you through the requirements needed to build dotnet/runtime on macOS. We’ll start by showing how to set up your environment from scratch.
Here are the components you will need to install and setup to work with the repo.
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
in a terminal (Adjust the path if you renamed Xcode.app).Building dotnet/runtime depends on several tools to be installed. You can download them individually or use Homebrew for easier toolchain setup.
Install the following packages:
You can install all the required packages above using Homebrew by running this command in the repository root:
brew bundle --no-lock --file eng/Brewfile