• Stars
    star
    393
  • Rank 109,518 (Top 3 %)
  • Language
    Objective-C
  • License
    BSD 3-Clause "New...
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Xcode plugin for automatic time tracking and metrics generated from your programming activity.

xcode-wakatime

DEPRECATED: Use the macos-wakatime repo instead.

Coding time tracker

WakaTime is an open source Xcode plugin for metrics, insights, and time tracking automatically generated from your programming activity.

Note: Unfortunately, Apple has decided to stop loading plugins in Xcode 14. We currently have no way to get around this and no way to get the WakaTime plugin for Xcode working.

Note: Xcode8 disables plugins. Installing WakaTime re-signs Xcode.app with a self-signed cert.

Installation

  1. Run this Terminal command:
curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh
  1. Restart Xcode.

  2. Enter your api key, then click OK. (Skip this step if you already have another WakaTime plugin)

  3. Use Xcode and your coding activity will be displayed on your WakaTime dashboard.

Alternatively, to install WakaTime for Xcode without re-signing (so you can still publish to the App Store), run this instead of step 1:

sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true
curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s nosign

To clone your Xcode.app to preserve the original app signature, run this instead of step 1:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s copy

To clone your Xcode.app to preserve the original app signature, run this instead of step 1:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s copy

To install WakaTime for Xcode Beta, run this instead of step 1:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s beta

To install WakaTime for Xcode where Xcode was installed to a non-standard folder:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s custom /Path/To/Your/Xcode.app

Screen Shots

Project Overview

Troubleshooting

First, do you see the Xcode โ†’ File โ†’ WakaTime API Key menu?

plugin menu

If you see that menu, it means the plugin was installed correctly and is running in Xcode... yay! Have a blank dashboard but see the plugin menu? Check your ~/.wakatime.log file for error messages.

If you donโ€™t see that menu, try re-installing the plugin. Thatโ€™s needed anytime Xcode.app is updated and generally solves most issues:

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh

If that doesn't work, turn on debug mode and check your wakatime cli log file (~/.wakatime.log).

If there are no errors in your ~/.wakatime.log file, check your Xcode log file (/var/log/system.log).

For more general troubleshooting information, see wakatime/wakatime#troubleshooting.

Uninstalling

To uninstall the WakaTime plugin, config file, and Alcatraz run these Terminal commands:

rm -r "${HOME}/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin"
rm "${HOME}/.wakatime.cfg"
rm -r "${HOME}/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin"
crontab -e

When crontab opens, remove the WakaTime line. Uninstalling Alcatraz is optional, and will prevent other non-WakaTime plugins from loading. After uninstalling, restart Xcode and you should no longer see WakaTime under the File menu.

More Repositories

1

vscode-wakatime

Visual Studio Code plugin for automatic time tracking and metrics generated from your programming activity.
TypeScript
1,214
star
2

jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
Java
1,124
star
3

legacy-python-cli

Command line interface used by all WakaTime text editor plugins.
Python
1,021
star
4

vim-wakatime

Vim plugin for automatic time tracking and metrics generated from your programming activity.
Vim Script
1,015
star
5

wakaq

Background task queue for Python backed by Redis, a super minimal Celery
Python
569
star
6

sublime-wakatime

Sublime Text 2 & 3 plugin for automatic time tracking and metrics generated from your programming activity.
Python
525
star
7

browser-wakatime

Chrome extension for automatic time tracking and metrics generated from your browsing activity.
TypeScript
397
star
8

visualstudio-wakatime

Visual Studio plugin for automatic time tracking and metrics generated from your programming activity.
C#
331
star
9

atom-wakatime

Atom plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
317
star
10

wakatime-cli

Command line interface used by all WakaTime text editor plugins
Go
281
star
11

wakatime-mode

Emacs plugin for automatic time tracking and metrics generated from your programming activity.
Emacs Lisp
268
star
12

eclipse-wakatime

Eclipse plugin for automatic time tracking and metrics generated from your programming activity.
Java
174
star
13

netbeans-wakatime

NetBeans plugin for automatic time tracking and metrics generated from your programming activity.
Java
162
star
14

brackets-wakatime

Brackets plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
145
star
15

macos-wakatime

Mac system tray app for automatic time tracking and metrics generated from your Xcode, Figma, Postman, etc. usage.
Swift
131
star
16

komodo-wakatime

Komodo plugin for automatic time tracking and metrics generated from your programming activity.
Python
118
star
17

wakadump

Command line tool for converting WakaTime data dump files into various formats.
Python
106
star
18

notepadpp-wakatime

Notepad++ plugin for automatic time tracking and metrics generated from your programming activity.
C#
79
star
19

desktop-old

Plugin install helper app, unfinished.
TypeScript
75
star
20

office-wakatime

Office Solution add-ins for automatic time tracking and metrics generated from your programming activity.
C#
67
star
21

sketch-wakatime

Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
JavaScript
62
star
22

statuspage

Uptime and latency status page for website and api.
41
star
23

ssms-wakatime

SQL Server Management Studio plugin to quantify your coding with automatic time tracking and metrics about your programming. https://wakatime.com
C#
40
star
24

wakatime-mobile

mobile WakaTime app for displaying dashboard metrics
JavaScript
31
star
25

delphi-wakatime

Embarcadero Delphi plugin for automatic time tracking and metrics generated from your programming activity.
Pascal
29
star
26

wakatime-blog

Markdown post content for the WakaTime blog
23
star
27

micro-wakatime

Micro editor plugin for automatic time tracking and metrics generated from your programming activity.
Lua
22
star
28

wakaq-ts

Background task queue for TypeScript backed by Redis, a super minimal Celery
TypeScript
19
star
29

gedit-wakatime

Gedit 3.8+ plugin for automatic time tracking and metrics generated from your programming activity.
Python
17
star
30

slack-demo-chat

Chat relay server using socket.io for WakaTime + Slack demo
CSS
16
star
31

c9-wakatime

Cloud9 plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
14
star
32

discord-wakatime

BetterDiscord plugin for automatic time tracking and stats about your Discord usage
JavaScript
12
star
33

adobe-xd-wakatime

Adobe XD plugin for automatic time tracking and metrics generated from your XD usage.
JavaScript
12
star
34

semver-action

Auto-generate the next semantic version.
Go
12
star
35

figma-wakatime

Figma plugin for automatic time tracking and metrics generated from your Figma usage.
TypeScript
12
star
36

desktop-wakatime

Windows & Linux system tray app for automatic time tracking and metrics generated from your Figma, Postman, etc. usage.
TypeScript
12
star
37

coda-wakatime

Coda plugin for automatic time tracking and metrics generated from your programming activity.
Objective-C
11
star
38

texstudio-wakatime

TeXstudio macro for automatic time tracking and metrics generated from your TeXstudio usage.
Python
10
star
39

textmate-wakatime

TextMate plugin for automatic time tracking and metrics generated from your programming activity.
Objective-C++
10
star
40

eric6-wakatime

Eric6 & Pymakr plugin for automatic time tracking and metrics generated from your programming activity.
Python
7
star
41

repl-python-wakatime

Python REPL plugin for automatic time tracking and metrics generated from your programming activity.
Python
7
star
42

vencord-wakatime

Vencord plugin for automatic time tracking and stats about your Discord usage
TypeScript
6
star
43

legal

legal documents for WakaTime
6
star
44

nuget-wakatime-shared-extension-utils

Shared C# utilities used in wakatime extensions
C#
5
star
45

WakaTime.novaextension

Nova plugin for automatic time tracking and metrics generated from your programming activity.
JavaScript
5
star
46

wing-wakatime

A plugin to quantify your programming inside Wing IDE.
Python
4
star
47

monodevelop-wakatime

WakaTime add-in for VSMac/MonoDevelop/Xamarin Studio
C#
3
star
48

homebrew-tap

Homebrew Tap for WakaTime
Ruby
3
star
49

prompt-style.lua

Lua plugin for powerlevel10k style prompt and WakaTime time tracking
Lua
2
star
50

jupyterlab-wakatime

WakaTime for JupyterLab
Python
2
star
51

tcl-prompt

Tcl plugin for powerlevel10k style prompt and WakaTime time tracking
Tcl
2
star
52

Reply-Plugin-Prompt

Perl Reply plugin for powerlevel10k style prompt and WakaTime time tracking
Perl
1
star
53

wakatime.io

Resources and documentation for learning about WakaTime
TypeScript
1
star