MyGit

getsentry/sentry-cocoa

Fork: 386 Star: 1044 (更新于 2026-04-06 08:05:42)

license: MIT

Language: Swift .

The official Sentry SDK for iOS, tvOS, macOS, watchOS, iPadOS and visionOS.

最后发布版本: 9.9.0 ( 2026-04-03 23:03:26)

官方网址 GitHub网址

Sentry for Apple

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

[!NOTE] You are currently viewing the main branch which contains the upcoming v9 release with breaking changes.

For the stable v8 release, please switch to the v8.x branch and refer to the v8 CHANGELOG.

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

Build codecov.io SwiftPM compatible Swift Package Index X Follow Discord Chat

Installation

SPM is the recommended way to include Sentry into your project. We also provide pre-built XCFrameworks on our GitHub Releases page.

[!WARNING] CocoaPods support has been deprecated and will no longer receive updates after June 2026. Please migrate to SPM or XCFrameworks. See CocoaPods read-only change.

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.

Resources

  • Documentation
  • Discussions
  • Discord Chat
  • Code of Conduct
  • Twitter Follow

最近版本更新:(数据更新于 2026-04-06 08:05:27)

2026-04-03 23:03:26 9.9.0

2026-03-19 21:31:29 9.8.0

2026-03-11 23:02:25 9.7.0

2026-03-04 22:17:59 9.6.0

2026-02-25 22:37:17 9.5.1

2026-02-19 16:43:40 9.5.0

2026-02-12 01:37:32 9.4.1

2026-02-04 21:58:13 9.4.0

2026-01-28 22:47:47 9.3.0

2026-01-21 21:51:11 9.2.0

主题(topics):

cocoa, crash, crash-reporting, crash-reports, error-handler, error-monitoring, ios, ipados, macos, objective-c, sdk, sentry, swift, tag-production, team-mobile, tvos, visionos, watchos

getsentry/sentry-cocoa同语言 Swift最近更新仓库

2026-04-16 23:18:31 Lessica/TrollFools

2026-04-15 13:06:25 JerryZLiu/Dayflow

2026-04-14 19:11:21 apple/swift-metrics

2026-04-14 16:39:44 Automattic/pocket-casts-ios

2026-04-14 00:07:57 Ranchero-Software/NetNewsWire

2026-04-13 22:23:56 tuist/tuist