allakin / sentry-cocoa

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

Home Page:https://sentry.io/for/cocoa/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


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

Travis codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms Twitter

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(options: [
    "dsn": "___PUBLIC_DSN___",
    "debug": true // Helpful to see what's going on
])
@import Sentry;

// ....

[SentrySDK initWithOptions:@{
    @"dsn": @"___PUBLIC_DSN___",
    @"debug": @(YES) // Helpful to see what's going on
}];

(1)limited symbolication support

About

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

https://sentry.io/for/cocoa/

License:MIT License


Languages

Language:Objective-C 57.2%Language:C 40.3%Language:Swift 1.2%Language:Ruby 0.7%Language:C++ 0.5%Language:Shell 0.1%Language:Makefile 0.1%