Swiftpack.co - Package - getsentry/sentry-cocoa

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


The official Sentry SDK for iOS, tvOS, macOS, watchOS

Official Sentry SDK for iOS / tvOS / macOS / watchOS (1).

Build codebeat badge codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms Swift Package Index Discord Chat

This SDK is written in Objective-C but also provides a nice Swift interface.


Remember to call this as early in your application life cycle as possible Ideally in applicationDidFinishLaunching in AppDelegate

import Sentry

// ....

SentrySDK.start { options in
    options.dsn = "___PUBLIC_DSN___"
    options.debug = true // Helpful to see what's going on
@import Sentry;

// ....

[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
    options.dsn = @"___PUBLIC_DSN___";
    options.debug = @YES; // Helpful to see what's going on

For more information checkout the docs.

(1)limited symbolication support and no crash handling.


  • Documentation
  • Forum
  • Discord Chat
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow


Stars: 354
Last commit: 4 minutes ago


6.1.4 - 2021-01-22T12:03:24

  • fix: Sessions for Hybrid SDKs #913