{"id":24836753,"url":"https://github.com/filsv/clean-my-xcode","last_synced_at":"2026-05-03T19:33:50.268Z","repository":{"id":274832579,"uuid":"924212441","full_name":"filsv/clean-my-xcode","owner":"filsv","description":"Free up disk space and speed up Xcode with a single command!","archived":false,"fork":false,"pushed_at":"2025-01-30T08:23:24.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T03:42:33.867Z","etag":null,"topics":["bash-script","cache","clean","xcode"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/filsv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-29T16:04:16.000Z","updated_at":"2025-03-01T02:36:52.000Z","dependencies_parsed_at":"2025-01-29T17:25:13.253Z","dependency_job_id":"e8fa16e2-1b7f-423d-9931-f324a9363707","html_url":"https://github.com/filsv/clean-my-xcode","commit_stats":null,"previous_names":["filsv/clean-my-xcode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/filsv/clean-my-xcode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filsv%2Fclean-my-xcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filsv%2Fclean-my-xcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filsv%2Fclean-my-xcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filsv%2Fclean-my-xcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filsv","download_url":"https://codeload.github.com/filsv/clean-my-xcode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filsv%2Fclean-my-xcode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582779,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash-script","cache","clean","xcode"],"created_at":"2025-01-31T05:43:43.872Z","updated_at":"2026-05-03T19:33:50.252Z","avatar_url":"https://github.com/filsv.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean My Xcode\n\nA simple bash script to clean Xcode cache files, SwiftUI Previews, DerivedData, iOS/macOS DeviceSupport, and Archives.\n\n## Features\n\n- **Interactive Directory Selection**: Navigate through directories and subfolders to delete specific items.\n- **Sort by Last Used Date**: Prioritize cache removal based on when directories were last accessed.\n- **User-Friendly Warnings and Display**: Provides clear, detailed information with formatted tables and alerts before any action.\n- **Quick Cleanup Options**: Easily remove all cache directories or selectively delete specific ones.\n\n### Script Options\n\n1. **Delete All Directories**: Removes all listed Xcode cache directories.\n2. **Select Specific Directories**: Explore directories and delete specific subfolders or files interactively.\n\n### Example Output\n\n```bash\nFound the following Xcode cache directories (sorted by last used date):\n---------------------------------------------------------------\nNo.   Last Used           Size       Path\n---------------------------------------------------------------\n1     2025-01-28 15:00:00 19G        /Users/username/Library/Developer/Xcode/DerivedData\n2     2025-01-25 12:30:00 9.0M       /Users/username/Library/Developer/Xcode/Archives\n3     2025-01-22 10:20:00 219M       /Users/username/Library/Developer/Xcode/Products\n---------------------------------------------------------------\nTotal size: ~19.2 GB\n```\n\n## Quick Start\n\nRun the script directly from the terminal using the following command:\n\n### Using curl\n```bash\ncurl -fsSL https://raw.githubusercontent.com/filsv/clean-my-xcode/main/clean-my-xcode.sh -o clean-my-xcode.sh \u0026\u0026 bash clean-my-xcode.sh\n```\n\n### Using bash\nFor an even quicker execution without downloading the file:\n```bash\nbash \u003c(curl -fsSL https://raw.githubusercontent.com/filsv/clean-my-xcode/main/clean-my-xcode.sh)\n```\n\n### Enjoy cleaning your Xcode cache easily and efficiently! 🚀\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilsv%2Fclean-my-xcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilsv%2Fclean-my-xcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilsv%2Fclean-my-xcode/lists"}