All SDKs

iOS

v

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.

manual
Install sentry-cocoa

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
}