README.md

September 1, 2026 ยท View on GitHub

logo

CI Release Swift 6.0 Platform License

Description

Scout is an iOS logging and analytics framework backed by CloudKit. It collects structured logs, metrics, and crash reports from your app and syncs them to a public CloudKit database where you can inspect them through a built-in SwiftUI dashboard.

Table of Contents

Features

๐Ÿ“Structured LoggingIntegrates with swift-log. All log levels, labels, and metadata are persisted and synced automatically.
๐Ÿ“ŠMetricsIntegrates with swift-metrics. Counters, timers, and floating-point counters are recorded alongside logs.
๐Ÿ’ฅCrash ReportingCaptures uncaught exceptions and signals (SIGABRT, SIGSEGV, etc.) with stack traces. Reports are flushed on the next launch.
โ˜๏ธCloudKit SyncAll data is stored locally with Core Data and synced to a public CloudKit database. No custom backend required.
๐ŸŒMultiple BackendsSync to CloudKit, to one or more self-hosted Scout servers, or to any combination of them at once.
๐Ÿ“ฑSwiftUI DashboardA built-in dashboard with charts, event lists, crash details, and activity tracking for debugging in development builds.

Comparison

How Scout compares to a hosted analytics SDK and to rolling your own backend:

Scout (CloudKit) Firebase Custom backend
Cost Free
Free within CloudKit's limits โ€” no servers to pay for, and the quota grows with your app
Metered
Free tier, then metered Blaze billing as reads and traffic grow

Paid
Servers, database, and bandwidth billed from day one

Data privacy Private
Data stays in your own CloudKit container on Apple's infrastructure โ€” no third-party analytics vendor
Vendor-owned
Data lives on Google's servers and can be linked across its ad and analytics products
Your responsibility
You control everything โ€” and carry all the responsibility for securing it

Infrastructure Serverless
Zero servers โ€” Apple runs the backend
Managed
Managed by Google, with vendor lock-in
Self-hosted
You deploy and maintain it yourself
Scaling Automatic
Automatic, within the container quota
Metered
Automatic, but the bill scales too
Manual
Manual โ€” you provision and pay for capacity
Setup Built-in
Already included with your Apple Developer account
Setup needed
New project, SDK, and API keys
Build it
Build the API, schema, and deployment

Installation

To add the package and set up CloudKit, see the Installation Guide.

Dashboard

The built-in SwiftUI dashboard lets you inspect logs, metrics, and crash reports right inside your development builds โ€” browse charts, drill into event lists and crash details, and track activity over time without leaving the app.

It ships as a separate ScoutUI product, so you decide which builds carry it. See the Dashboard Guide for linking it, presenting it, and keeping it out of the App Store build.

Roadmap

  • Hosted Scout (in progress) โ€” a managed scout-server instance
  • AI tools โ€” an MCP server over the Scout backend
  • More platforms โ€” macOS, watchOS, tvOS, and visionOS
  • OpenTelemetry โ€” OTLP support in both directions

Have an idea, or want one of these sooner? Open an issue.

License

Scout is released under the MIT License. See LICENSE for details.