Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ygit/dbd90e56b5d6791d6d60 to your computer and use it in GitHub Desktop.
Save ygit/dbd90e56b5d6791d6d60 to your computer and use it in GitHub Desktop.
Count lines of code in Xcode project
1. Open Terminal
2. cd to your Xcode project
3. Execute the following when inside your target project:
find . -name "*.[hm]" -print0 | xargs -0 wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment