Skip to content

Instantly share code, notes, and snippets.

@naus3a
Created July 31, 2020 11:18
Show Gist options
  • Save naus3a/ea2548994ee04046f137c0abaea300c1 to your computer and use it in GitHub Desktop.
Save naus3a/ea2548994ee04046f137c0abaea300c1 to your computer and use it in GitHub Desktop.
osx dev cleanup
#!/bin/bash
brew update && brew upgrade && brew cleanup
rm -rf "${HOME}/Library/Caches/CocoaPods"
#old simulators
xcrun simctl delete unavailable
#xcode archives
rm -rf ~/Library/Developer/Xcode/Archives
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~~/Library/Developer/Xcode/iOS Device Logs/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment