Skip to content

Instantly share code, notes, and snippets.

@bright23 bright23/clean.sh
Created May 15, 2018

Embed
What would you like to do?
clean_macbook
#!/bin/sh
sudo rm -rf ~/Library/Developer/Xcode/DerivedData/*
echo "clean Xcode/DerivedData!"
sudo rm -rf ~/Library/Developer/Xcode/Archives/*
echo "clean Xcode/Archives!"
sudo rm -rf ~/Library/Caches/*
echo "clean Library/Caches!"
sudo rm -rf ~/Library/Logs/iOS\ Simulator
echo "clean iOS logs"
# 全てのシミュレーターのキャッシュを一度で削除する場合
sudo rm -rf ~/Library/Developer/Xcode/iOS\ DeviceSupport/*
echo "clean simulator cache"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.