Skip to content

Instantly share code, notes, and snippets.

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