Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kythanh/05eebab549d6cd92bca3 to your computer and use it in GitHub Desktop.
Save kythanh/05eebab549d6cd92bca3 to your computer and use it in GitHub Desktop.
How to delete all Archive binaries generated by XCode
1. Open Terminal, then goto this folder: cd ~/Library/Developer/Xcode/Archives
2. Perform delete all folders and files: rm -rf *
You may need root permission to perform delete.
@Dimon70007
Copy link

Dimon70007 commented Jul 9, 2019

find ~/Library/Developer/Xcode/Archives -depth 1 -name "*" -type d -mtime +${DAYS_OLDER_THEN} | xargs rm -rf
this line of script delete's all archives, older then $DAYS_OLDER_THEN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment