MIT License
This is the tool that allows to track events that are happening in Xcode This tool simply runs tracking scripts based on Xcode behaviors. It's independent on the Xcode version (as soon as you have Xcode version higher than 4 :) It will survive Xcode reinstallations, so it works on 'install and forget basis'
The result of this tool will be one simple csv file looking like this
#ProjectName, Workspace, TimeStart, TimeEnd, Event, TimeSpent
No project,TimeTracker.xcworkspace,1497876725,1497876729,Build Succeeded,4
No project,TimeTracker.xcworkspace,1497876729,1497877067,Run Completed,338
No project,TimeTracker.xcworkspace,1497877067,1497877088,Build Succeeded,21
There'are two installation steps:
~/.timecheck
directorySimply run
CURRENT=`pwd`
cd `mktemp -d`
git clone https://github.com/PaulTaykalo/xcode-time-tracker
cd xcode-time-tracker
sh ./install.sh
cd ..
rm -rf xcode-time-tracker
cd $CURRENT
This will download and copy project_start.py
and project_end.py
to the ~/.timecheck
directory
There are no more steps. Done.
Build your precious project and see that there's new file appeared in ~/.timecheck
directory
It should contain line that should look like this
No project,HeyYouAreAwesome.xcworkspace,1597876725,1597876729,Build Succeeded,4
The next step is to visualize this information. I used R language for that. But there's more coming This how it can look like if you'll be able to setup R correcly :)