Awesome Open Source
Awesome Open Source
Sponsorship


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

Travis codebeat badge codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms

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

Initialization

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.

Resources

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

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
objective-c (10,723
swift (7,258
ios (3,317
macos (1,518
tvos (193
watchos (134
cocoa (75
crash-reporting (57
error-monitoring (53
sentry (53
crash-reports (25
error-handler (15

Find Open Source By Browsing 7,000 Topics Across 59 Categories