A command-line tool for cleaning unused image and resource files in Xcode projects.
FengNiao is a command-line tool that scans Xcode projects to identify and delete unused image and resource files. It helps iOS and macOS developers reduce app bundle size and clean up project clutter by automatically detecting resources that are no longer referenced in code.
iOS and macOS developers working on Xcode projects who need to manage asset files and optimize app size by removing unused resources.
Developers choose FengNiao for its simplicity, safety features like interactive prompts, and seamless Xcode integration. It offers precise control over resource cleanup with configurable scanning options, unlike manual cleanup or broader project cleaning tools.
A command line tool for cleaning unused resources in Xcode.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses regex to scan Swift, Objective-C, XIB, and Storyboard files for unused image references, ensuring accurate identification based on the 'How it works' section.
Supports custom resource extensions, file types, and exclude paths like Carthage or Pods, allowing tailored scanning as shown in the --help output.
Can be added as a Run Script build phase to automate cleanup during each build, integrating directly into development workflows per the README instructions.
Includes interactive prompts, list-only mode, and --skip-proj-reference options to prevent accidental deletions, emphasizing control and backup.
Relies on regex-based string matching in code files, which may miss dynamically referenced assets or cause false positives in complex projects, as implied by the scanning method.
The GUI app version requires manual compilation from source, limiting accessibility for users who prefer ready-to-use graphical tools, as noted in the App folder section.
Using --skip-proj-reference can leave .pbxproj files unchanged after deletion, potentially causing build errors if references aren't manually updated, as warned in the help text.