Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 997 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 997 Bytes

WARNING: This script IS SEVERELY OUTDATED. Please do not use. Archiving for reference only.

cleanxcode

A simple interactive terminal script to clean up Xcode DerivedData, stale simulators, etc

Requires HomeBrew and ThoughtBot's Pick tool.

WARNING: This script deletes data. Use at your own risk!

Don't come to me crying if it deleted something you didn't expect

Usage

chmod +x cleanxcode
./cleanxcode

This will:

  1. Clean Docset disk images (.dmg) from $HOME/Library/Caches/com.apple.dt.Xcode/Downloads/.
  2. Interactively pick and remove plugged device symbols from $HOME/Library/Developer/Xcode/iOS DeviceSupport.
  3. Interactively pick and remove build artifacts from $HOME/Library/Developer/Xcode/DerivedData.
  4. Interactively pick and remove build artifacts from $HOME/Library/Caches/AppCode*/DerivedData.
  5. Clean stale CoreSimulator devices.

LICENSE

Licensed under GPLv3. See the LICENSE file.