Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.
/ sentry-cocoa Public archive
forked from getsentry/sentry-cocoa

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

License

Notifications You must be signed in to change notification settings

brutmedia/sentry-cocoa

 
 

Repository files navigation


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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 56.2%
  • C 42.2%
  • Ruby 0.6%
  • C++ 0.5%
  • Swift 0.4%
  • Shell 0.1%