Skip to content

Instantly share code, notes, and snippets.

@rodrigoespinozadev
Forked from 50percentgrey/apple.sh
Created April 9, 2020 17:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Delete-Clean Unnecessary files / Apple / Xcode
#!/bin/bash
# Delete Archived Applications
rm -r ~/Library/Developer/Xcode/Archives/*/
# Delete Devired Data
rm -r ~/Library/Developer/Xcode/DerivedData/*/
# Delete Apple cached files
rm -r ~/Library/Developer/CoreSimulator/Caches/dyld/*/*/
# Delegete cache on com.apple.DeveloperTools
rm -r /private/var/folders/dk/*/C/com.apple.DeveloperTools/*/
# Delete unused simulators
xcrun simctl delete unavailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment