Swiftpack.co -  getsentry/sentry-cocoa as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
getsentry/sentry-cocoa
The official Sentry SDK for iOS, tvOS, macOS, watchOS.
.package(url: "https://github.com/getsentry/sentry-cocoa.git", from: "7.2.0-beta.8")


Official Sentry SDK for iOS / tvOS / macOS / watchOS (1).

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Build codebeat badge codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms Swift Package Index Discord Chat

This SDK is written in Objective-C but also provides a nice Swift interface.

Initialization

Remember to call this as early in your application life cycle as possible Ideally in applicationDidFinishLaunching in AppDelegate

import Sentry

// ....

SentrySDK.start { options in
    options.dsn = "___PUBLIC_DSN___"
    options.debug = true // Helpful to see what's going on
}    
@import Sentry;

// ....

[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
    options.dsn = @"___PUBLIC_DSN___";
    options.debug = @YES; // Helpful to see what's going on
}];

For more information checkout the docs.

(1)limited symbolication support and no crash handling.

Automatic Performance Instrumentation Preview

With 7.1.0-beta.0, we released a preview of automatic performance instrumentation. Please checkout the docs for more info. We highly appreciate your feedback as a comment on our GitHub discussion.

Blog posts

How to use Sentry Attachments with Mobile Applications.

Close the Loop with User Feedback.

A Sanity Listicle for Mobile Developers.

Resources

  • Documentation
  • Forum
  • Discord Chat
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow

GitHub

link
Stars: 409
Last commit: 17 hours ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

7.2.0-beta.8
5 days ago
  • fix: Remove tags and data if empty for Span (#1246)
  • fix: Race Conditions in NetworkTracker (#1250)
  • fix: Don't create transactions for HTTP Requests. (#1237)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API