Latest 4.2.1
Homepage https://github.com/getsentry/sentry-cocoa
License mit
Platforms ios 8.0, osx 10.10, tvos 9.0, watchos 2.0, requires ARC
Frameworks Foundation


Sentry

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

Latest podspec

{
    "name": "Sentry",
    "version": "4.2.1",
    "summary": "Sentry client for cocoa",
    "homepage": "https://github.com/getsentry/sentry-cocoa",
    "license": "mit",
    "authors": "Sentry",
    "source": {
        "git": "https://github.com/getsentry/sentry-cocoa.git",
        "tag": "4.2.1"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    },
    "module_name": "Sentry",
    "requires_arc": true,
    "frameworks": "Foundation",
    "libraries": [
        "z",
        "c++"
    ],
    "xcconfig": {
        "GCC_ENABLE_CPP_EXCEPTIONS": "YES"
    },
    "default_subspecs": [
        "Core"
    ],
    "subspecs": [
        {
            "name": "Core",
            "source_files": [
                "Sources/Sentry/**/*.{h,m}",
                "Sources/SentryCrash/**/*.{h,m,mm,c,cpp}"
            ]
        }
    ]
}

Pin It on Pinterest

Share This