Is there a way to determine how many lines of code an Xcode project contains? I promise not to use such information for managerial measurement or employee benchmarking purp
Steps to implement CLOC library in Mac as below:
Open terminal
Install Homebrew using command as below,
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Copy & paste this command, including double quotes in terminal
Enter system password & click enter.
You will see the terminal screen as below,
System will popup so many permissions, please allow all the permissions
If everything goes fine, you will see terminal screen as below,
Redirect to project folder using cd drag & drop project folder path to terminal
Now its time to install CLOC using below command
cloc . --exclude-dir=Pods used to exclude pod files
cloc . including pod files
If everything goes fine, it will display the number of lines of code as below,
Hope it will help someone.