GitHub - Peterbald/sentry-cocoa: The official Sentry SDK for iOS/tvOS/macOS/watchOS · GitHub
Skip to content

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation


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

Travis platforms langauges CocoaPods Shield CocoaPods Shield Carthage compatible codecov

Offical client for Sentry.

This client is written in Objective-C but also works for Swift projects.

import Sentry

func application(application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {

    // Create a Sentry client and start crash handler
    do {
        Client.shared = try Client(dsn: "___DSN___")
        try Client.shared?.startCrashHandler()
    } catch let error {
        print("\(error)")
        // Wrong DSN or KSCrash not installed
    }

    return true
}

(1)limited symbolication support

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages