Skip to content

gsalibi/clean-my-xcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean My Xcode

A simple Shell script that cleans your Xcode

Clean My Xcode

Xcode is known to consume large amounts of disk space. This tends to get worse quickly over time, as it keeps even old files created for simulators and past iOS versions, which are not even installed anymore.

Usage example

Once the clean-my-xcode.sh is downloaded, just run it in the terminal with the command:

sudo ./clean-my-xcode.sh

Script options

  • 1 - Device Suport
    • It's debug symbols/crash logs for each device and iOS version. Do not clean if you need historical crashes
  • 2 - Archives
    • These are created every time you archive an app. Do not clean if you want to debug any of the archived versions of your app
  • 3 - Derived Data
    • Clean intermediate build results, works as a cache. Xcode will recreate the necessary files when a new build is made
  • 4 - Core Simulator Devices data
    • Clean local simulator data: remove installed apps and local data. It's like restoring the simulator to factory settings
  • 5 - Core Simulator cache
    • Clear the simulator caches
  • 6 - All
    • Performs all previous cleanings
  • 7 - Quit
    • Exits the script without making any further changes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages