My basic list of instructions to make setting up an Apple computer for iOS development (based on Tania Rascia setup)
- Trackpad > Point & Click > Tap to click > On
- Keyboard > Text > Disable "Correct spelling automatically".
- Security and Privacy > Firewall > On
- Security and Privacy > General > App Store and identified developers
- Sharing > File Sharing > Off
- Users & Groups > Login Items > Spectacle / AlDente
chflags nohidden ~/Library
Show hidden files
This can also be done by pressing command
+ shift
+ .
.
defaults write com.apple.finder AppleShowAllFiles YES
defaults write com.apple.finder ShowPathbar -bool true
defaults write com.apple.finder ShowStatusBar -bool true
For managing operating system libraries.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install mas
mas signin [email protected]
touch Brewfile
tap 'caskroom/cask'
brew 'git'
cask 'google-chrome'
cask 'spectacle'
cask 'visual-studio-code'
mas 'Slack', id: 803453959
mas 'Xcode', id: 497799835
## Applications that are not installable by cask
# AlDente
# Notion
# OneDrive
# Office
# Proxyman
# Spotify
brew bundle
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES
defaults write com.apple.dt.Xcode BuildSystemScheduleInherentlyParallelCommandsExclusively -bool NO
defaults write com.apple.iphonesimulator AllowFullscreenMode -bool YES
Enable more secret features in Simulator using Apple hidden Internals menu
Create an empty folder with name “AppleInternal” in the root directory. Just run this command below and restart Simulator
sudo mkdir /AppleInternal
xcrun simctl io booted recordVideo <filename>.<file extension>
Press control + c to stop recording the video. The default location for the created file is the current directory
Edit /etc/pam.d/sudo and add the following line to the top
auth sufficient pam_tid.so
xcrun simctl delete unavailable
[user]
name = First Last
email = [email protected]
[github]
user = username
[alias]
a = add
ca = commit -a
cam = commit -am
s = status
pom = push origin master
pog = push origin gh-pages
puom = pull origin master
puog = pull origin gh-pages
cob = checkout -b
[credential]
helper = osxkeychain
Host example
HostName example.com
User example-user
IdentityFile key.pem
ssh-keygen -t rsa -b 4096 -C "[email protected]"
touch ~/.bash_profile; nano ~/.bash_profile
PS1='$(networksetup -getcomputername):\W \u\$ '
alias brewup='brew update; brew upgrade; brew prune; brew cleanup; brew doctor'
export EDITOR="code -w"
source ~/.bash_profile
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\$(parse_git_branch)\[\033[m\]\$ "