We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
Download and install xcode-wakatime:
Make sure WakaTime.app is running.
If prompted, enter your API Key then click
Use Xcode like normal and your coding activity will be displayed on your WakaTime Dashboard.