Necessary for Apple Silicon machines -- at least for the time being -- in order to translate Intel based programs that are not ready to run natively of Silicon hardware yet.
18 lines
478 B
Bash
Executable File
18 lines
478 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Installs development tooling requirements.
|
|
|
|
printf "Installing Xcode CLI tools...\n"
|
|
xcode-select --install
|
|
|
|
printf "%s\n" "💡 ALT+TAB to view and accept Xcode license window."
|
|
read -p "Have you completed the Xcode CLI tools install (y/n)? " xcode_response
|
|
if [[ "$xcode_response" != "y" ]]; then
|
|
printf "ERROR: Xcode CLI tools must be installed before proceeding.\n"
|
|
exit 1
|
|
fi
|
|
|
|
if [[ -n "$(get_cpu)" ]]; then
|
|
softwareupdate --install-rosetta
|
|
fi
|