You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 contains the upcoming v9 release with breaking changes.
Official Sentry SDK for iOS / tvOS / macOS / watchOS (1)
Installation
SPM is the recommended way to include Sentry into your project, but we also support CocoaPods, and provide pre-built XCFrameworks on our GitHub Releases page.
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
}];