mac磁盘空间不足清理脚本-针对xcode的清理

2017-11-14 14:16:30

以下路径文件为xcode生成的临时文件,清理不会影响xcode及现有项目,重新运行xcode会再次生成。

rm -rf  ~/Library/Developer/Xcode/DerivedData/*
rm -rf  ~/Library/Developer/Xcode/Archives/*
rm -rf  ~/Library/Developer/Xcode/iOS DeviceSupport/*
rm -rf  ~/Library/Developer/CoreSimulator/Devices/*