On this page
Overview
Sentry Cocoa is the official Sentry SDK for iOS, iPadOS, macOS, tvOS, watchOS, and visionOS. It captures errors and crashes and can add tracing, view hierarchy, network context, and other telemetry to investigate production issues.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Initialize early in the application lifecycle and capture errors or crashes
SentrySDK.start configures the DSN and options and can be called early in application startup. The SDK also exposes explicit APIs for capturing messages and errors.
Sources: [2]
Enable tracing, view hierarchy, async stack traces, and related telemetry as needed
Version 9.30.0 stabilizes options for view hierarchy, Time To Full Display, Swift async stack traces, GraphQL operation tracking, FileManager swizzling, and more. Many remain disabled by default so applications can opt into the telemetry they need.
Sources: [4]
Best fit
Fits teams that need device and runtime context for production iOS issues
It is useful for centralizing crashes, errors, and performance issues with release and device context when production failures are difficult to reproduce locally.
Sources: [2]
Before adoption
Official sources
- [1]getsentry/sentry-cocoa — GitHub repository(2026-10-06)
- [2]Sentry Cocoa 9.30.0 — README(2026-10-06)
- [3]Sentry Cocoa 9.30.0 — Package.swift(2026-10-06)
- [4]Sentry Cocoa 9.30.0 release(2026-10-06)
- [5]Sentry Cocoa MIT license(2026-10-06)
Supplemental curator note
Sentry Cocoa fits iOS teams that need device and runtime context for production crashes, errors, and performance issues. CocoaPods support has ended, so current integrations should use SwiftPM or XCFrameworks.
Try it in 3 steps
- 1
Add Sentry Cocoa 9.30.0 with SwiftPM
Pin the source-build package and link the SentrySPM product to the application target.
.package(url: "https://github.com/getsentry/sentry-cocoa", exact: "9.30.0") - 2
Initialize Sentry during application startup
Start the SDK as early in the application lifecycle as recommended by the README.
import Sentry SentrySDK.start { options in options.dsn = "___PUBLIC_DSN___" options.debug = true } - 3
Capture a test message
Send an explicit message event to verify the application is connected to the Sentry project.
SentrySDK.capture(message: "Sentry integration check")
Growth
Growth trends · Last 30 days
1,124 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 161
- Open PRs
- 21
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- swift
- objective-c
- crash-reporting
- error-monitoring
- crash-reports
- error-handler
- sentry
- ios
- tvos
- macos
- watchos
- cocoa
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Grafana Loki28,990 Stars
2 shared tag(s) · 1 shared category(s)
Aggregate large log volumes with Prometheus-style label indexes, LogQL, Grafana, and multi-tenant operations
Go - Sentry45,482 Stars
4 shared tag(s) · 2 shared category(s)
a developer debugging platform that connects errors, traces, replays, logs, and uptime from detection through root-cause investigation and fixes
Python - CocoaLumberjack13,321 Stars
3 shared tag(s) · 2 shared category(s)
route one DDLog API to console, os_log, rolling files, and custom loggers on Apple platforms
Objective-C - Kibana21,309 Stars
3 shared tag(s) · 1 shared category(s)
the interface for querying, visualizing, and operating Elasticsearch data
TypeScript - Gatus12,246 Stars
3 shared tag(s) · 1 shared category(s)
run HTTP, TCP, DNS, and other active checks with conditions, alerts, and a status page
Go - Zabbix6,442 Stars
3 shared tag(s) · 1 shared category(s)
Unify discovery, metrics, alerting, and root-cause analysis across servers, networks, and cloud
Go Template
Report incorrect information
Tell us if any listing information is incorrect or outdated.