Skip to content
The official Sentry SDK for iOS/tvOS/macOS/watchOS
Branch: master
Clone or download
Latest commit 65ee998 Apr 18, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github ci: Use Zeus to release Nov 9, 2017
.travis fix: Scritp Dec 3, 2018
Sentry.xcodeproj
Sources
Tests fix: Use reason from outside of nsexception (#303) Apr 18, 2019
Utils/VersionBump
fastlane feat: Remove swift pm, Fix travis Jun 20, 2018
.craft.yml feat: Add spec Dec 3, 2018
.gitignore
.gitmodules feat: Remove KSCrash submodule Jun 20, 2018
.oclint
.slather.yml
.swiftlint.yml
.travis.yml
CHANGELOG.md meta: Changelog Apr 18, 2019
Dangerfile Add lintfile to danger, Also add comment Apr 3, 2017
Gemfile
Gemfile.lock fix: Bundler Apr 8, 2019
LICENSE.md This Sentry Swift client is ready Apr 6, 2016
Makefile fix: VersionBump update to swift 5 Apr 8, 2019
README.md docs: Use public dsn May 24, 2018
Sentry.podspec release: 4.3.2 Apr 8, 2019

README.md


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

You can’t perform that action at this time.