A macOS app for cleaning unused resources in the Xcode project
ScanSweep
A Mac App to find and delete unused image resources from your Xcode project.
It will the scan current folder and all its subfolders to find unused images, then ask whether you want to delete them.
Installation
Download file
Or build and run the project directly by
git clone https://github.com/ldakhoa/ScanSweep.git
cd ScanSweep
xed . # Open ScanSweep.xcodeproj
And waiting for dependencies to install, then press the run button or cmd + r
Usage
- Click
Browse...
to select the project folder. - Filter scope search with
Exclude Paths
,File Extensions
, andResources Extensions
. - Click “Search…” to start searching for unused resources.
- Wait a few seconds; the unused results will be shown in the table.
- Select files to
Delete
, andDelete All
to delete all unused resources
Note: Please ensure you have a backup or version control system before deleting the images; it will be unrestorable.
Reliability
ScanSweep depends on FengNiao as a backend, with fork version to modify some pieces of code to support SwiftUI and app feature.
If you refer original and the command-line tool. Please visit FengNiao.
License
ScanSweep is licensed under MIT so that you can do whatever you want with this source code.
However, please do not ship this app under your own account.