{"id":13908176,"url":"https://github.com/getsentry/sentry-cocoa","last_synced_at":"2026-02-19T10:16:35.489Z","repository":{"id":37458456,"uuid":"55534429","full_name":"getsentry/sentry-cocoa","owner":"getsentry","description":"The official Sentry SDK for iOS, tvOS, macOS, watchOS.","archived":false,"fork":false,"pushed_at":"2025-04-08T09:47:25.000Z","size":22601,"stargazers_count":866,"open_issues_count":322,"forks_count":341,"subscribers_count":65,"default_branch":"main","last_synced_at":"2025-04-08T10:08:25.702Z","etag":null,"topics":["cocoa","crash","crash-reporting","crash-reports","error-handler","error-monitoring","hacktoberfest","ios","macos","objective-c","sdk","sentry","swift","tag-production","team-mobile","tvos","watchos"],"latest_commit_sha":null,"homepage":"https://sentry.io/for/cocoa/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getsentry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://sentry.io/pricing/","https://sentry.io/"]}},"created_at":"2016-04-05T18:55:09.000Z","updated_at":"2025-04-08T09:43:47.000Z","dependencies_parsed_at":"2023-10-04T07:51:04.311Z","dependency_job_id":"f3c0491b-b6c3-425b-ad35-0fc5470880c0","html_url":"https://github.com/getsentry/sentry-cocoa","commit_stats":{"total_commits":3635,"total_committers":111,"mean_commits":"32.747747747747745","dds":0.6104539202200825,"last_synced_commit":"e9dfabe700bc872033c452ac5d0242dd22fbfbe1"},"previous_names":["getsentry/sentry-swift"],"tags_count":370,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-cocoa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-cocoa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-cocoa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getsentry%2Fsentry-cocoa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getsentry","download_url":"https://codeload.github.com/getsentry/sentry-cocoa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819947,"owners_count":21001394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cocoa","crash","crash-reporting","crash-reports","error-handler","error-monitoring","hacktoberfest","ios","macos","objective-c","sdk","sentry","swift","tag-production","team-mobile","tvos","watchos"],"created_at":"2024-08-06T23:02:31.532Z","updated_at":"2025-11-10T16:29:40.955Z","avatar_url":"https://github.com/getsentry.png","language":"Swift","readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://sentry.io/?utm_source=github\u0026utm_medium=logo\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://sentry-brand.storage.googleapis.com/github-banners/github-sdk-cocoa.jpg\" alt=\"Sentry for Apple\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\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\u003e**Check out our open positions**\u003c/kbd\u003e](https://sentry.io/careers/)_\n\n\u003e [!NOTE]\n\u003e You are currently viewing the **`main`** branch which contains the upcoming **v9** release with breaking changes.\n\u003e\n\u003e For the stable **v8** release, please switch to the [`v8.x` branch](https://github.com/getsentry/sentry-cocoa/tree/v8.x) and refer to the [v8 CHANGELOG](https://github.com/getsentry/sentry-cocoa/blob/v8.x/CHANGELOG.md).\n\n# Official Sentry SDK for iOS / tvOS / macOS / watchOS \u003csup\u003e(1)\u003c/sup\u003e\n\n[![Build](https://img.shields.io/github/actions/workflow/status/getsentry/sentry-cocoa/build.yml?branch=main)](https://github.com/getsentry/sentry-cocoa/actions/workflows/build.yml?query=branch%3Amain)\n[![codecov.io](https://codecov.io/gh/getsentry/sentry-cocoa/branch/master/graph/badge.svg)](https://codecov.io/gh/getsentry/sentry-cocoa)\n[![CocoaPods compatible](https://img.shields.io/cocoapods/v/Sentry.svg)](https://cocoapods.org/pods/Sentry)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![SwiftPM compatible](https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat)](https://swift.org/package-manager)\n![platforms](https://img.shields.io/cocoapods/p/Sentry.svg?style=flat)\n[![Swift Package Index](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fgetsentry%2Fsentry-cocoa%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/getsentry/sentry-cocoa)\n[![X Follow](https://img.shields.io/twitter/follow/sentry?label=sentry\u0026style=social)](https://x.com/intent/follow?screen_name=sentry)\n[![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord\u0026logoColor=ffffff\u0026color=7389D8)](https://discord.com/invite/sentry)\n\n# Installation\n\nSPM is the recommended way to include Sentry into your project, but we also support [CocoaPods](https://cocoapods.org/pods/Sentry) and Carthage, and provide pre-built XCFrameworks on [our GitHub Releases page](https://github.com/getsentry/sentry-cocoa/releases).\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// ....\n\nSentrySDK.start { options in\n    options.dsn = \"___PUBLIC_DSN___\"\n    options.debug = true // Helpful to see what's going on\n}\n```\n\n```objc\n@import Sentry;\n\n// ....\n\n[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {\n    options.dsn = @\"___PUBLIC_DSN___\";\n    options.debug = @YES; // Helpful to see what's going on\n}];\n```\n\nFor more information checkout the [docs](https://docs.sentry.io/platforms/apple).\n\n\u003csup\u003e(1)\u003c/sup\u003elimited symbolication support and no crash handling.\n\n# Blog posts\n\n[Mobile Vitals - Four Metrics Every Mobile Developer Should Care About](https://blog.sentry.io/2021/08/23/mobile-vitals-four-metrics-every-mobile-developer-should-care-about/).\n\n[How to use Sentry Attachments with Mobile Applications](https://blog.sentry.io/2021/02/03/how-to-use-sentry-attachments-with-mobile-applications/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=sentry-cocoa).\n\n[Close the Loop with User Feedback](https://blog.sentry.io/2021/02/16/close-the-loop-with-user-feedback/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=sentry-cocoa).\n\n[A Sanity Listicle for Mobile Developers](https://blog.sentry.io/2021/03/30/a-sanity-listicle-for-mobile-developers/?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=sentry-cocoa).\n\n# Resources\n\n- [![Documentation](https://img.shields.io/badge/documentation-sentry.io-green.svg)](https://docs.sentry.io/platforms/apple/)\n- [![Discussions](https://img.shields.io/github/discussions/getsentry/sentry-cocoa.svg)](https://github.com/getsentry/sentry-cocoa/discussions)\n- [![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord\u0026logoColor=ffffff\u0026color=7389D8)](https://discord.com/invite/sentry)\n- [![Stack Overflow](https://img.shields.io/badge/stack%20overflow-sentry-green.svg)](http://stackoverflow.com/questions/tagged/sentry)\n- [![Code of Conduct](https://img.shields.io/badge/code%20of%20conduct-sentry-green.svg)](https://github.com/getsentry/.github/blob/master/CODE_OF_CONDUCT.md)\n- [![Twitter Follow](https://img.shields.io/twitter/follow/getsentry?label=getsentry\u0026style=social)](https://twitter.com/intent/follow?screen_name=getsentry)\n","funding_links":["https://sentry.io/pricing/","https://sentry.io/"],"categories":["HarmonyOS","Swift"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-cocoa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetsentry%2Fsentry-cocoa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetsentry%2Fsentry-cocoa/lists"}