Skip to content

Instantly share code, notes, and snippets.

@mobilemind
Last active January 7, 2019 23:12
Show Gist options
  • Save mobilemind/1593377 to your computer and use it in GitHub Desktop.
Save mobilemind/1593377 to your computer and use it in GitHub Desktop.
Xcode setup commands
## Xcode 2019
# remove old simulators in Xcode 9 or Xcode 10
xcrun simctl delete unavailable
# solve issue with `xcrun: error: unable to find utility "name", not a developer tool or in PATH`
sudo xcode-select --reset
## Xcode 2011
defaults write com.apple.Xcode PBXBeepOnNoMatchingBrace YES
defaults write com.apple.Xcode NSRecentDocumentsLimit 12
defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{FULLUSERNAME="Firstname Last";ORGANIZATIONNAME="Orgname";}'
# add username to _developer group (don't need to be admin to compile)
sudo dscl . append /Groups/_developer GroupMembership username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment