All SDKs

Apple (iOS / macOS)

v0.2.0

sentry-cocoa

Use the official Sentry SDK with the DSN shown in your AllStak project setup. No AllStak-specific SDK is required.

Install

These official Sentry commands come from the AllStak-managed SDK catalog.

spm
https://github.com/getsentry/sentry-cocoa.git
carthage
github "getsentry/sentry-cocoa"
cocoapods
pod 'Sentry'

Quick start

import Sentry

SentrySDK.start { options in
    options.dsn = "{{DSN}}"
    options.environment = "production"
    options.releaseName = "[email protected]"
    options.tracesSampleRate = 1.0
    // Off by default. Enable only if you accept sending usernames,
    // emails and IP addresses to your telemetry backend.
    options.sendDefaultPii = false
}