- 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-rosetta
Install 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 ~/.zshrc
Add 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)"
fi
And restart zsh with arch commands.
arch -x86_64 zsh
Download the apple tap on your terminal using the following commands.
brew tap apple/apple https://github.com/apple/homebrew-apple
Install Game porting toolkit formula, it takes a long time.
brew -v install apple/apple/game-porting-toolkit