/find-unreferenced-xcode-files

Find “Unreferenced” Files in an Xcode Project

Primary LanguageSwift

find-unreferenced-xcode-files

A helper to find unreferenced files in an Xcode project.

Installation

You can install the project via Homebrew with:

brew install frizlab/perso/find-unreferenced-xcode-files

Example of Use

project_name=MyAwesomeProject

find . \
   \( -name "*.swift" -o -name "*.h" -o -name "*.m" -o -name "*.c" \) \
   -a ! -path "*/.git/*" \
   -a ! -path "*/Carthage/*" \
   -print0 | \
   find-unreferenced-xcode-files -0 "./$project_name.xcodeproj/project.pbxproj"