Skip to content
getsentry avatar

Sentry Cocoa Sdk

Full Sentry SDK setup for Apple apps: error monitoring, tracing, profiling, replay, logs, and metrics.

CCM score
72 of 100
skills.sh installs
3.7K
GitHub stars
283
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Sentry setup for iOS, macOS, tvOS, watchOS, and visionOS, with SwiftUI and UIKit init patterns
  • Detects existing dependencies, UI framework, deployment targets, and logging libraries before recommending features
  • Recommends Error Monitoring and Tracing by default, with Profiling, Session Replay, Logging, Metrics, and User Feedback as options
  • Guides install via the Sentry wizard, Swift Package Manager, or CocoaPods, and notes the SPM product choice per target

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-cocoa-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > SDK Setup > Cocoa SDK

Sentry Cocoa SDK

Opinionated wizard that scans your Apple project and guides you through complete Sentry setup.

Invoke This Skill When

  • User asks to "add Sentry to iOS/macOS/tvOS" or "set up Sentry" in an Apple app
  • User wants error monitoring, tracing, profiling, session replay, or logging in Swift/ObjC, or metrics in Swift
  • User mentions sentry-cocoa, SentrySDK, or the Apple/iOS Sentry SDK
  • User wants to monitor crashes, app hangs, watchdog terminations, or performance

Note: SDK versions and APIs below reflect Sentry docs at time of writing (sentry-cocoa 9.15.0). Always verify against docs.sentry.io/platforms/apple/ before implementing.


Phase 1: Detect

Run these commands to understand the project before making any recommendations:

# Check existing Sentry dependency
grep -rEi "sentry|sentry-cocoa|SentrySPM|SentrySwiftUI" \
  --include="Package.swift" --include="Podfile" --include="Cartfile" \
  --include="Package.resolved" --include="project.pbxproj" . 2>/dev/null | head -20

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
Mobile Apps, Debugging
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Cocoa Sdk

More Mobile Apps