getsentry / sentry-cocoa
git clone https://github.com/getsentry/sentry-cocoa.git
9.30.2 · 6d ago
🔥 on GitHub Trending today
The official Sentry SDK for iOS, tvOS, macOS, watchOS, iPadOS and visionOS.
+0
stars, 24h · #627
—
stars, 7 days
—
stars, 30 days
1.1k
★ total
427
forks · 367 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageSwift
LicenseMIT
Created2016-04-05 (10y ago)
Last pushtoday
Watchers56
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 — #13 daily in swift
GitHub topics
cocoacrashcrash-reportingcrash-reportserror-handlererror-monitoringiosipadosmacosobjective-csdksentryswifttag-productionteam-mobiletvosvisionoswatchos
Links
- GitHub: github.com/getsentry/sentry-cocoa
- Homepage: https://docs.sentry.io/platforms/apple/
- Releases · Issues · Hacker News mentions
README excerpt
_Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us **Check out our open positions** _ > [!NOTE] > You are currently viewing the **`main`** branch which latest development version of **v9** release. > > For the latest **v8** release, please switch to the `v8.x` branch and refer to the v8 CHANGELOG. # Official Sentry SDK for iOS / iPadOS / tvOS / macOS / watchOS (1) / visionOS # Installation ### Sentry Wizard (Recommended) The quickest way to get started: [code] This patches your project and configures the SDK automatically. ### Swift Package Manager (Compile from Source) Use this repository to build the SDK from source: **In Xcode:** File > Add Packages, then paste: [code] **In `Package.swift`:** [code] ### Pre-built XCFrameworks For pre-built static binaries via SPM, use the sentry-apple-binaries repository. You can also download XCFrameworks directly from GitHub Releases. For all installation options (Objective-C, dynamic linking, manual install), see the full installation docs. > [!NOTE] > CocoaPods support has been dropped. The last version available via CocoaPods is 9.19.1. Please migrate to SPM or XCFrameworks. # Initialization _Remember to call this as early in your application life cycle as possible_ Ideally in `applicationDidFinishLaunching` in `AppDelegate` [code] [code] For more information checkout the docs. (1) limited symbolication support and no crash handling. # Logging Integrations Forward logs from popular logging libraries to Sentry Logs. Each integration is a separate Swift package, so you only pull in the dependencies you use: - swift-log: sentry-apple-swift-log - CocoaLumberjack: sentry-apple-cocoalumberjack - Pulse: sentry-apple-pulse - SwiftyBeaver: sentry-apple-swiftybeaver # Resources - - - - - - Check out product updates, deep dives, and tips on the Sentry blog and our changelog