Terminal into the root directory
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l
The result of this command line calculation is that the approximate result is not accurate, and the number of commented code lines will also be counted.