Skip to content

cmsj/sentry-cocoa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

Travis codebeat badge codecov.io CocoaPods compadible Carthage compatible SwiftPM compatible platforms

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: [
    "dsn": "___PUBLIC_DSN___",
    "debug": true // Helpful to see what's going on
])
@import Sentry;

// ....

[SentrySDK startWithOptions:@{
    @"dsn": @"___PUBLIC_DSN___",
    @"debug": @(YES) // Helpful to see what's going on
}];

(1)limited symbolication support

Resources

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

About

The official Sentry SDK for iOS, tvOS, macOS, watchOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 54.0%
  • C 36.8%
  • Swift 7.1%
  • Python 0.8%
  • Ruby 0.6%
  • C++ 0.5%
  • Other 0.2%