[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-11233":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":9,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":9,"pushedAt":9,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":45,"discoverSource":46},11233,"sentry-cocoa","getsentry\u002Fsentry-cocoa","getsentry","The official Sentry SDK for iOS, tvOS, macOS, watchOS, iPadOS and visionOS.",null,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa","Swift",1076,395,57,304,0,2,6,18,20.79,false,"main",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"swift","objective-c","crash-reporting","error-monitoring","crash-reports","error-handler","sentry","ios","tvos","macos","watchos","cocoa","crash","tag-production","team-mobile","sdk","ipados","visionos","2026-06-12 02:02:30","\u003Cdiv align=\"center\">\n    \u003Ca href=\"https:\u002F\u002Fsentry.io\u002F?utm_source=github&utm_medium=logo\" target=\"_blank\">\n        \u003Cimg src=\"https:\u002F\u002Fsentry-brand.storage.googleapis.com\u002Fgithub-banners\u002Fgithub-sdk-cocoa.jpg\" alt=\"Sentry for Apple\">\n    \u003C\u002Fa>\n\u003C\u002Fdiv>\n\n_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 [\u003Ckbd>**Check out our open positions**\u003C\u002Fkbd>](https:\u002F\u002Fsentry.io\u002Fcareers\u002F)_\n\n> [!NOTE]\n> You are currently viewing the **`main`** branch which contains the upcoming **v9** release with breaking changes.\n>\n> For the stable **v8** release, please switch to the [`v8.x` branch](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa\u002Ftree\u002Fv8.x) and refer to the [v8 CHANGELOG](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa\u002Fblob\u002Fv8.x\u002FCHANGELOG.md).\n\n# Official Sentry SDK for iOS \u002F iPadOS \u002F tvOS \u002F macOS \u002F watchOS \u003Csup>(1)\u003C\u002Fsup> \u002F visionOS\n\n[![Build](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fgetsentry\u002Fsentry-cocoa\u002Fbuild.yml?branch=main)](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa\u002Factions\u002Fworkflows\u002Fbuild.yml?query=branch%3Amain)\n[![codecov.io](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgetsentry\u002Fsentry-cocoa\u002Fbranch\u002Fmaster\u002Fgraph\u002Fbadge.svg)](https:\u002F\u002Fcodecov.io\u002Fgh\u002Fgetsentry\u002Fsentry-cocoa)\n[![SwiftPM compatible](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fspm-compatible-brightgreen.svg?style=flat)](https:\u002F\u002Fswift.org\u002Fpackage-manager)\n[![Swift Package Index](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fgetsentry%2Fsentry-cocoa%2Fbadge%3Ftype%3Dswift-versions)](https:\u002F\u002Fswiftpackageindex.com\u002Fgetsentry\u002Fsentry-cocoa)\n[![X Follow](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fsentry?label=sentry&style=social)](https:\u002F\u002Fx.com\u002Fintent\u002Ffollow?screen_name=sentry)\n[![Discord Chat](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https:\u002F\u002Fdiscord.com\u002Finvite\u002Fsentry)\n\n# Installation\n\nSPM is the recommended way to include Sentry into your project. We also provide pre-built XCFrameworks on [our GitHub Releases page](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa\u002Freleases).\n\n> [!WARNING]\n> 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](https:\u002F\u002Fblog.cocoapods.org\u002FCocoaPods-Support-Plans\u002F).\n\n# Initialization\n\n_Remember to call this as early in your application life cycle as possible_\nIdeally in `applicationDidFinishLaunching` in `AppDelegate`\n\n```swift\nimport Sentry\n\n\u002F\u002F ....\n\nSentrySDK.start { options in\n    options.dsn = \"___PUBLIC_DSN___\"\n    options.debug = true \u002F\u002F Helpful to see what's going on\n}\n```\n\n```objc\n@import Sentry;\n\n\u002F\u002F ....\n\n[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {\n    options.dsn = @\"___PUBLIC_DSN___\";\n    options.debug = @YES; \u002F\u002F Helpful to see what's going on\n}];\n```\n\nFor more information checkout the [docs](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fapple).\n\n\u003Csup>(1)\u003C\u002Fsup>limited symbolication support and no crash handling.\n\n# Resources\n\n- [![Documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdocumentation-sentry.io-green.svg)](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fapple\u002F)\n- [![Discussions](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdiscussions\u002Fgetsentry\u002Fsentry-cocoa.svg)](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-cocoa\u002Fdiscussions)\n- [![Discord Chat](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https:\u002F\u002Fdiscord.com\u002Finvite\u002Fsentry)\n- [![Code of Conduct](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode%20of%20conduct-sentry-green.svg)](https:\u002F\u002Fgithub.com\u002Fgetsentry\u002F.github\u002Fblob\u002Fmaster\u002FCODE_OF_CONDUCT.md)\n- [![Twitter Follow](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fsentry?label=sentry&style=social)](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ffollow?screen_name=sentry)\n","getsentry\u002Fsentry-cocoa 是官方的 Sentry SDK，适用于 iOS、iPadOS、tvOS、macOS、watchOS 和 visionOS 平台。该项目主要功能包括错误监控、崩溃报告以及异常处理，能够帮助开发者实时追踪和诊断应用中的问题。它支持 Swift 和 Objective-C 语言，并且可以通过 Swift Package Manager 或 XCFrameworks 方式集成到项目中。Sentry-cocoa 适合需要提高软件质量、快速定位并修复问题的各种 Apple 生态系统下的应用程序开发场景。","2026-06-11 03:31:29","trending"]