Created
May 15, 2018 11:14
-
-
Save bright23/6dc8fd43432a42e8edc7c95589098014 to your computer and use it in GitHub Desktop.
clean_macbook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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