FengNiao
A command line tool for cleaning unused resources in Xcode
The FengNiao project is a lightweight command-line utility designed to help iOS/macOS developers clean up their Xcode projects by detecting and removing unused image resource files. As projects evolve, image assets often accumulate — many of which may no longer be referenced in code, storyboards, or asset catalogs; FengNiao scans the project directory (and subfolders) to identify those orphaned resources and optionally delete them, helping to reduce project bloat and potential app size. The tool is written in Swift, distributed under MIT license, and supports installation via Swift Package Manager or compilation from source. It supports common image resource types (e.g., PNG, JPG, PDF, imagesets) and scans typical source and layout files (Swift, Objective-C, XIBs, storyboards, plist) to find references.