Created
August 7, 2014 07:03
-
-
Save kythanh/05eebab549d6cd92bca3 to your computer and use it in GitHub Desktop.
How to delete all Archive binaries generated by XCode
This file contains 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
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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