Tips
Add dock separators
Add one separator.
defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }'
Reload Dock.
killall Dock
Reset Dock.
defaults delete com.apple.dock; killall Dock
Reload Finder.
killAll Finder
Install/reinstall macOS
- How to create a bootable installer for macOS (opens in a new tab)
- How to reinstall macOS from macOS Recovery (opens in a new tab)
- How to reinstall macOS (opens in a new tab)
Install Xcode toolkit
xcode-select --install
If that doesn’t work, force it to reset.
xcode-select --reset
It can be used when you get following message in a terminal:
xcrun: error: invalid active developer path, missing xcrun