I am running macOS 10.15 and Xcode 11.5.
I ran the following commands as listed here: https://github.com/brave/brave-browser
git clone [email protected]:brave/brave-browser.git
cd brave-browser
npm install
npm config set target_os macos
npm config set target_arch x64
npm run init
npm run build
That is when I got the error in the above screenshot.