Skip to content

Connect Apple platforms with its Sentry SDK

Your Apple platforms app keeps its Sentry SDK. Xovris gives it your project’s DSN, and every error it sends becomes a Xovris issue with its stack and release.

Swift Package Manager: https://github.com/getsentry/sentry-cocoa
Get your project’s DSN

Already installed? Your code stays as it is – the DSN is the one change.

Start it

Put this in your app's init, with SENTRY_DSN set in Info.plist from the build settings:

// Info.plist carries SENTRY_DSN from the buildimport Sentry
SentrySDK.start { options in    options.dsn = Bundle.main.object(forInfoDictionaryKey: "SENTRY_DSN") as? String}

It takes SENTRY_DSN from your app’s build settings, so your project’s address never sits in your code.

Your project’s DSN

Xovris finds the SDK in your Package.swift, creates your project’s address and writes it as SENTRY_DSN in your env file, after showing you the change. It then sends a test event and waits until it is stored. In the project, run:

Terminal window
npx xovris@latest init

See the first error

Send one from anywhere your app runs:

SentrySDK.capture(error: NSError(domain: "first error for Xovris", code: 1))

Capture one error with the SDK’s own call and it appears as a Xovris issue:

  • Errors and their stack traces, grouped into issues
  • Messages you capture
  • The release each event names

Its frameworks

The same DSN covers every framework this SDK’s own integrations reach:

iOS, macOS, tvOS, visionOS and watchOS.

What Xovris has run

Read through the Sentry protocol every Sentry SDK speaks. Xovris has not yet driven this SDK itself, so its own bytes are not in the tests yet.

Every option the SDK has is in its own documentation: docs.sentry.io/platforms/apple/

Ask Xovris

Open the full page

Your data is never used to train our AI. How your data is kept

A problem is called fixed only once it works again. How each fix is checked

XOVRIS LTD, registered in England and Wales, company number 17499910. Registered office: 66 Paul Street, London EC2A 4NA.