# spotify/XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.

Repository: https://github.com/spotify/XCMetrics
Canonical: https://ross.abutalabs.com/products/xcmetrics
Homepage: https://xcmetrics.io
Language: Swift
License: NOASSERTION
License Family: other
Topics: xcode, swift, spm, xcactivitylog
Last push: 2024-04-26T18:56:15+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2052, "days_push": 859, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1162, forks 83 (observed 2026-08-28T04:03:49.505801+00:00)

## What it is
XCMetrics is a Swift-based tool from Spotify that collects, stores, and tracks Xcode build metrics parsed from xcactivitylog files. It includes a CLI for log ingestion, a self-hosted backend service, and a Backstage plugin for visualizing build times, warnings, and errors.

## Use cases
- track xcode build times across a team
- find which ios targets take longest to compile
- collect build warnings and errors from xcactivitylog
- monitor build performance regressions in ci
- self-host a build metrics dashboard for ios developers
- attach custom metadata like git info to xcode builds

## When to choose
- your iOS team wants visibility into Xcode build times and trends
- you want a self-hosted solution where build data stays in your infrastructure
- you need to parse xcactivitylog files and store metrics in queryable tables
- you use Backstage and want a build metrics plugin

## When to avoid
- you build for Android, web, or non-Apple platforms
- you want a hosted SaaS metrics solution with zero setup
- your project does not use Xcode or xcodebuild

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: monitoring, analytics, parser, logging, developer-tools
- domain: developer-tools, analytics, monitoring, mobile-development, performance
- platform: cli, self-hosted
- tags: xcode, xcactivitylog, build-metrics, ios, swift-package-manager, backstage-plugin, ci-builds, macos, swift, docker

## Member repositories
- spotify/XCMetrics (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.505801+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:39.720643+00:00, confidence not recorded.
  - readme: https://github.com/spotify/XCMetrics (fetched 2026-08-28T04:03:49.505801+00:00, sha 0f5a31695e45)
  - homepage: https://xcmetrics.io (fetched 2026-08-29T12:36:01.010460+00:00, sha 6101c1b9ce19)
  - site_page: https://xcmetrics.io/docs (fetched 2026-08-29T12:36:01.019323+00:00, sha c08be7d5ee1b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
