- MacBook Pro 16-inch, 2021 (M1 Pro, RAM 16GB)
- macOS Sonoma 14.0 (stable)
Install rosetta on your terminal using the following commands.
softwareupdate --install-rosettaInstall the x86 version homebrew on your terminal using the following commands.
arch -x86_64 zsh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"And open the zshrc file.
vi ~/.zshrcAdd the following lines at the bottom of the file.
if [ "$(arch)" = "arm64" ]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
else
eval "$(/usr/local/bin/brew shellenv)"
fiAnd restart zsh with arch commands.
arch -x86_64 zshDownload the apple tap on your terminal using the following commands.
brew tap apple/apple https://github.com/apple/homebrew-appleInstall Game porting toolkit formula, it takes a long time.
brew -v install apple/apple/game-porting-toolkit