Sentry 4.4.0

Sentry 4.4.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jul 2019
SPMSupports SPM

Maintained by Sentry.



Sentry 4.4.0

  • By
  • Sentry


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

Travis platforms langauges CocoaPods Shield CocoaPods Shield Carthage compatible codecov

This SDK 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: "___PUBLIC_DSN___")
        try Client.shared?.startCrashHandler()
    } catch let error {
        print("\(error)")
        // Wrong DSN or KSCrash not installed
    }

    return true
}

(1)limited symbolication support