{"id":15593373,"url":"https://github.com/jeffctown/xcutility","last_synced_at":"2025-09-30T03:32:20.257Z","repository":{"id":63912551,"uuid":"170766521","full_name":"jeffctown/xcutility","owner":"jeffctown","description":"A tool to find and delete files that are missing from Xcode projects","archived":false,"fork":false,"pushed_at":"2020-05-31T23:04:43.000Z","size":120,"stargazers_count":35,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-17T12:36:40.801Z","etag":null,"topics":["ios","macos","objective-c","swift","tvos","xcode"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/jeffctown.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-14T22:24:27.000Z","updated_at":"2024-11-02T18:04:03.000Z","dependencies_parsed_at":"2023-01-14T13:15:38.105Z","dependency_job_id":null,"html_url":"https://github.com/jeffctown/xcutility","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jeffctown/xcutility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcutility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcutility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcutility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcutility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffctown","download_url":"https://codeload.github.com/jeffctown/xcutility/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcutility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277627091,"owners_count":25849790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ios","macos","objective-c","swift","tvos","xcode"],"created_at":"2024-10-03T00:16:06.275Z","updated_at":"2025-09-30T03:32:19.954Z","avatar_url":"https://github.com/jeffctown.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xcutility\n\n[![Swift Version](https://img.shields.io/badge/Swift-5.0-orange.svg?style=for-the-badge)](https://swift.org)\n[![GitHub release](https://img.shields.io/github/release/jeffctown/xcutility.svg?style=for-the-badge)](https://github.com/jeffctown/xcutility/releases)\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=for-the-badge)](https://raw.githubusercontent.com/jeffctown/xcutility/master/LICENSE.md) \n\n[![Build Status](https://travis-ci.org/jeffctown/xcutility.svg?\u0026branch=master)](https://travis-ci.org/jeffctown/xcutility)[![codecov.io](https://codecov.io/github/jeffctown/xcutility/coverage.svg?branch=master)](https://codecov.io/github/jeffctown/xcutility?branch=master)\n\nxcutility is a tool to find and delete unused files from Xcode projects.  \n\nIt recursively searches through a path to find all of the path's Xcode projects and files, and will tell you which files are not referenced or built in any of your Xcode projects.  \n\n## Installation\n\n### Using a pre-built package:\n\nYou can install xcutility by downloading `xcutility.pkg` from the\n[latest GitHub release](https://github.com/jeffctown/xcutility/releases/latest) and\nrunning it.\n\n### Compiling from source:\n\nYou can also build from source by cloning this project and running\n`make install` (Xcode 10.2 or later).\n\n## Quick Start\n\n* Find Swift files not referenced in any Xcode projects:\n```xcutility norefs --extensions .swift```\n\n* Find Objective C files not referenced in any Xcode projects:\n```xcutility norefs --extensions .m,.h```\n\n* Find Swift \u0026 Objective C files not referenced in any Xcode projects:\n```xcutility norefs --extensions .m,.h,.swift```\n\n* Find Swift files not compiled in any Xcode projects:\n```xcutility unbuilt --extensions .swift```\n\n* Find Objective C files not compiled in any Xcode projects:\n```xcutility unbuilt --extensions .m```\n\n* Find Swift \u0026 Objective C files not compiled in any Xcode projects:\n```xcutility unbuilt --extensions .m,.swift```\n\n\n## Usage\n\n\n### Help\n\n```\n$ xcutility help\nAvailable commands:\n\n   all       Find files that are not built or referenced in any Xcode projects\n   help      Display general or command-specific help\n   norefs    Find files that are not referenced in any Xcode projects\n   unbuilt   Find files that are referenced in Xcode but not built in any build phases\n   version   Display the current version of xcutility\n```\n\n### Unreferenced Files\n\n\n#### Find Files that are Unreferenced by any Xcode Projects in the Current Directory\n\n```bash\nxcutility norefs\n```\n\n#### Find Files that are Unreferenced by any Xcode Projects In a Specific Path\n\n```bash\nxcutility norefs --path ~/MySweetSweetApp/\n```\n\n#### Find Files With a Certain Extension that are Unreferenced by any Xcode Projects \n\n```bash\nxcutility norefs --extensions .swift\n```\n\n#### Find Only Files With Multiple Extensions that are Unreferenced by any Xcode Projects\n\n```bash\nxcutility norefs --extensions .swift,.h,.m\n```\n\n#### Find And Delete Files With Multiple Extensions that are Unreferenced by any Xcode Projects\n\n```bash\nxcutility norefs --extensions .swift,.h,.m --delete\n```\n\n#### Find Unreferenced Files Verbosely\n\n```bash\nxcutility norefs --verbose\n```\n\n### Find Unreferenced Files Combined Usage\n\n```bash\nxcutility norefs --path ~/MySweetSweetApp/ --extension .swift,.h,.m --verbose --delete\n```\n\n### Unbuilt Files\n\n\n#### Find Files that are not built by any Xcode Project Build Phases in the Current Directory\n\n```bash\nxcutility unbuilt\n```\n\n#### Find Files that are not built by any Xcode Project Build Phases in a specific path\n\n```bash\nxcutility unbuilt --path ~/MySweetSweetApp/\n```\n\n#### Find Files With a Certain Extension that are not built by any Xcode Projects Build Phases\n\n```bash\nxcutility unbuilt --extensions .swift\n```\n\n#### Find Only Files With Multiple Extensions that are not built by any Xcode Projects Build Phases\n\n```bash\nxcutility unbuilt --extensions .swift,.h,.m\n```\n\n#### Find And Delete Files With Multiple Extensions that are not built by any Xcode Projects Build Phases\n\n```bash\nxcutility unbuilt --extensions .swift,.m --delete\n```\n\n#### Find Unbuilt Files Verbosely\n\n```bash\nxcutility unbuilt --verbose\n```\n\n### Find Unbuilt Files Combined Usage\n\n```bash\nxcutility unbuilt --path ~/MySweetSweetApp/ --extension .swift,.m --verbose --delete\n```\n\n\n## License\n\nxcutility is released under the [MIT license](LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffctown%2Fxcutility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffctown%2Fxcutility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffctown%2Fxcutility/lists"}