WakaTime for Xcode Xcode

The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.

Installing

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

Note: In order for Xcode to load plugin bundles, WakaTime re-signs Xcode.app with a self-signed cert. Xcode also disables plugins every time it updates, so make sure to re-install the WakaTime plugin after updating Xcode. When in doubt, look for a Xcode → File → WakaTime API Key menu to make sure the plugin is loaded.

  1. Run this Terminal command:

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

  2. Restart Xcode.

  3. Enter your API Key, then click OK.

  4. 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

Alternatively, to clone your `Xcode.app` preserving 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

Alternatively, 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

WakaTime plugins collect file path and project names from your IDE. Learn more about data collected and privacy.