sentry-cocoa

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

    Language: swift

    Author: Anthony Abraham (@theanthony)

    16 stars · 379 views

    Files

    • .sauce (sauce)
    • benchmarking-config.yml (yml)
    • docs (txt)
    • SentryHttpStatusCodeTests.swift (swift)
    • TestRateLimits.swift (swift)
    • SentrySpotlightTransportTests.swift (swift)
    • HttpDateFormatter.swift (swift)
    • SentryDateCodableTests.swift (swift)
    • SentryDiscardedEventTests.swift (swift)
    • SentryMetricsIntegrationTests.swift (swift)
    • SentryScreenFramesTests.swift (swift)
    • Categories (txt)
    • SentryMessage+Equality.h (h)
    • SentryAppState+Equality.h (h)
    • AppStartTracking (txt)
    • SentrySDKSettings+Equality.swift (swift)
    • Utils (txt)
    • VersionBump (txt)
    • Persistence (txt)
    • Package.swift (swift)
    • main.swift (swift)
    • .swiftlint.yml (yml)
    • AccentColor.colorset (colorset)
    • Contents.json (json)
    • Contents.json (json)
    • Configurations (txt)
    • Sources (txt)
    • ContentView.swift (swift)
    • SentryScopePersistentStoreTests.swift (swift)
    • SentryTransactionContextTests.swift (swift)
    • opaque-masking.md (md)
    • .slather.yml (yml)
    • Makefile (txt)
    • agents.toml (toml)
    • MIGRATION.md (md)
    • .craft.yml (yml)
    • SwiftConversion (txt)
    • objc_conversion_analyzer.rb (rb)
    • README.md (md)
    • generate_graphviz.rb (rb)
    • schema (txt)
    • xcodegen.schema.json (json)
    • .vscode (vscode)
    • extensions.json (json)
    • .claude (claude)
    • settings.json (json)
    • AGENTS.md (md)
    • .codecov.yml (yml)
    • README.md (md)
    • dprint.json (json)
    • REVIEWS.md (md)
    • develop-docs (txt)
    • ARCHITECTURE.md (md)
    • RELEASE.md (md)
    • SENTRYCRASH_IMPROVEMENT_PLAN.md (md)
    • INTEGRATIONS.md (md)
    • SWIFT.md (md)
    • SENTRYCRASH.md (md)
    • xcode_test_plan_uicapture_settings.png (image)
    • raven-rejectedpromise.json (json)
    • Crash-missing-binary-images.json (json)
    • AGENTS.md (md)
    • README.md (md)
    • xcode_tests_navigator_with_skipped_test.png (image)
    • SENTRY-OBJC.md (md)
    • Fishhook-Explanation.md (md)
    • disabling_tests_xcode_test_plan.png (image)
    • CI.md (md)
    • OBJC-LOAD-AND-LINKING.md (md)
    • DECISIONS.md (md)
    • VIEW_MASKING_STRATEGIES.md (md)
    • github-pages (txt)
    • SentryTracerTests.swift (swift)
    • index.html (html)
    • BUILD.md (md)
    • TEST.md (md)
    • SENTRY-OBJC-BUILD.md (md)
    • fishhook-symbol-tables.png (image)
    • SDK_HISTORY.md (md)
    • TestSamples (txt)
    • SwiftUICrashTest (txt)
    • SwiftUICrashTest.yml (yml)
    • App (txt)
    • Resources (txt)
    • Assets.xcassets (xcassets)
    • AppIcon.appiconset (appiconset)
    • Contents.json (json)
    • SwiftUICrashTestApp.swift (swift)
    • test-crash-and-relaunch.sh (sh)
    • SwiftUITestSample (txt)
    • UITests (txt)
    • Configurations (txt)
    • Sources (txt)
    • EnvelopeTests.swift (swift)
    • App (txt)
    • Resources (txt)
    • Configurations (txt)
    • Headers (txt)
    • Sources (txt)
    • SwiftUITestSampleApp.swift (swift)
    • SwiftUITestSample.yml (yml)
    • fastlane (txt)
    • Package.swift (swift)
    • SentryTestUtilsTests (txt)
    • Resources (txt)
    • Sources (txt)
    • TestFileManagerTests.swift (swift)
    • TestNSNotificationCenterWrapperTests.swift (swift)
    • SentryUIViewControllerPerformanceTrackerTests.swift (swift)
    • InvocationsTests.swift (swift)
    • ArrayAccessesTests.swift (swift)
    • TestInfoPlistWrapperTests.swift (swift)
    • TestCurrentDateProviderTests.swift (swift)
    • TestConstantTests.swift (swift)
    • TestDispatchFactoryTests.swift (swift)
    • THIRD_PARTY_NOTICES.md (md)
    • Tests (txt)
    • SentryObjCTests (txt)
    • Configuration (txt)
    • Resources (txt)
    • CrashState_legacy_1.json (json)
    • ReactNative.json (json)
    • crash-bad-access.json (json)
    • FileManagerTracingIntegrationTests.swift (swift)
    • crash-report-user-info-scope-v1.json (json)
    • Crash-missing-user.json (json)
    • recrash-report.json (json)
    • UnknownTypeException.json (json)
    • Crash-faulty-report.json (json)
    • Crash-missing-crash.json (json)
    • CrashState_wrong.json (json)
    • dup-frame.json (json)
    • breadcrumb.json (json)
    • Crash-missing-crash-error.json (json)
    • crash-sigterm.json (json)
    • crash-report-legacy-storage-info.json (json)
    • crash-bad-access-no-subcode.json (json)
    • NSExceptionWithoutReason.json (json)
    • CrashState_unsupported_fields.json (json)
    • crash-report-user-info-scope-v2.json (json)
    • breadcrumb_sdk_scope.json (json)
    • SentryNSFileManagerSwizzlingHelperTests.swift (swift)
    • raven-throwerror.json (json)
    • crash-report-1.json (json)
    • Crash-missing-crash-threads.json (json)
    • processed.json (json)
    • incomplete.json (json)
    • MetricKitCallstacks (txt)
    • tree-unknown-fields.json (json)
    • not-per-thread-only-one-frame.json (json)
    • per-thread.json (json)
    • per-thread-nil-package.json (json)
    • per-thread-flamegraph.json (json)
    • tree-garbage.json (json)
    • SentryAppStartTrackerTests.swift (swift)
    • not-per-thread.json (json)
    • tree-real.json (json)
    • cordova-exception.json (json)
    • raw.json (json)
    • crash-report-without-device-context.json (json)
    • raven-sendMessage.json (json)
    • NX-Page.json (json)
    • Abort.json (json)
    • fatal-error-notable-addresses.json (json)
    • StackOverflow.json (json)
    • NSException.json (json)
    • CPPException.json (json)
    • AGENTS.md (md)
    • README.md (md)
    • DuplicatedSDKTest (txt)
    • DuplicatedSDKTest.xcodeproj (xcodeproj)
    • xcshareddata (txt)
    • xcschemes (txt)
    • project.xcworkspace (xcworkspace)
    • DuplicatedSDKTest (txt)
    • UITest.swift (swift)
    • TestEnvelopeRateLimitDelegate.swift (swift)
    • DuplicatedSDKTestApp.swift (swift)
    • DuplicatedSDKTest-Bridging-Header.h (h)
    • SomeWork.swift (swift)
    • Unit Tests (txt)
    • Unit_Tests.swift (swift)
    • SentryTests (txt)
    • Networking (txt)
    • SentryHttpDateParserTests.swift (swift)
    • SentryTransportInitializerTests.swift (swift)
    • NSData+Unzip.h (h)
    • RateLimits (txt)
    • SentryConcurrentRateLimitsDictionaryTests.swift (swift)
    • SentryRetryAfterHeaderParserTests.swift (swift)
    • SentryEnvelopeRateLimitTests.swift (swift)
    • SentryRateLimitsParserTests.swift (swift)
    • SentryDefaultRateLimitsTests.swift (swift)
    • TestSentryReachability.swift (swift)
    • SentryNSURLRequestBuilderTests.swift (swift)
    • SentryReplayNetworkDetailsBodyTests.swift (swift)
    • SentryTransportAdapterTests.swift (swift)
    • SentryTransportFactoryTests.swift (swift)
    • SentryHttpTransportHttpStatusCodeLoggerTests.swift (swift)
    • SentryExtendedAppLaunchTests.swift (swift)
    • TestNSURLRequestBuilder.swift (swift)
    • SentryReachabilitySwiftTests.swift (swift)
    • TestProtocolClient.swift (swift)
    • SentryReplayNetworkDetailsHeaderTests.swift (swift)
    • SentryDsnOrgIdTests.swift (swift)
    • SentryReplayNetworkDetailsIntegrationTests.swift (swift)
    • LocksTests.swift (swift)
    • SentryDiscardReasonMapperTests.swift (swift)
    • SentryHttpTransportTests.swift (swift)
    • SentryHttpTransportFlushIntegrationTests.swift (swift)
    • TestRequestManager.swift (swift)
    • SentryDataCategoryMapperTests.swift (swift)
    • SentryDispatchQueueWrapperTests.swift (swift)
    • TestResponseFactory.swift (swift)
    • SentrySpanIdTests.swift (swift)
    • Swift (txt)
    • Core (txt)
    • Tools (txt)
    • LoadValidatorTests.swift (swift)
    • Extensions (txt)
    • Profiling (txt)
    • UIViewControllerSentryTests.swift (swift)
    • NSMutableDictionarySentryTests.swift (swift)
    • SentrySanitizerUtilsTests.swift (swift)
    • SentrySanitizerUtils+Tests.h (h)
    • SentrySDKIntegrationTestsBase.swift (swift)
    • SwiftDescriptorTests.swift (swift)
    • SentryScopeSwiftTests.swift (swift)
    • SentrySDKInternalTests.swift (swift)
    • TelemetryBuffer (txt)
    • InMemoryInternalTelemetryBufferTests.swift (swift)
    • TelemetryBufferTests.swift (swift)
    • DefaultTelemetryBufferDataForwardingTriggersTests.swift (swift)
    • SentryNetworkDetailSwizzlingTests.swift (swift)
    • SentryNetworkTrackerTests.swift (swift)
    • SentryNetworkTrackerIntegrationTestServerTests.swift (swift)
    • SentryWeakMapTests.swift (swift)
    • Protocol (txt)
    • SentrySdkInfoTests.swift (swift)
    • SentryBreadcrumbTests.swift (swift)
    • SentryUnitTests.swift (swift)
    • SentryRedactDefaultOptionsTests.swift (swift)
    • Codable (txt)
    • SentryCodableTests.swift (swift)
    • ArbitraryDataTests.swift (swift)
    • NSNumberDecodableWrapperTests.swift (swift)
    • SentryPerformanceTracker+Testing.h (h)
    • Metrics (txt)
    • SentryLogLevelTests.swift (swift)
    • SentryAttributeValuableTests.swift (swift)
    • SentryUserTests.swift (swift)
    • SentryEnvelopeTests.swift (swift)
    • SentryAttachment+Equality.h (h)
    • SentryLogTests.swift (swift)
    • SentryExceptionTests.swift (swift)
    • SentryAttachmentTests.swift (swift)
    • SentryNSErrorTests.swift (swift)
    • SentryDebugMetaTests.swift (swift)
    • SentryMechanismContextTests.swift (swift)
    • SentryThreadEquality.swift (swift)
    • SentryGeoTests.swift (swift)
    • SentryMechanismTests.swift (swift)
    • SentryMetricTests.swift (swift)
    • SentryDebugMetaEquality.swift (swift)
    • SentryClientReportTests.swift (swift)
    • SentryLogMessageTests.swift (swift)
    • SentryStacktraceEquality.swift (swift)
    • SentryRequestTests.swift (swift)
    • SentryAttributeValueTests.swift (swift)
    • SentryIdTests.swift (swift)
    • SentrySDKSettingsTests.swift (swift)
    • SentryAttributeTests.swift (swift)
    • SentryMetricValueTests.swift (swift)
    • SentryMessageTests.swift (swift)
    • SentryThreadTests.swift (swift)
    • SentryStacktraceTests.swift (swift)
    • SentrySDKInfo+Equality.swift (swift)
    • SentryFrameTests.swift (swift)
    • SentryMeasurementUnitTests.swift (swift)
    • SentryEventTests.swift (swift)
    • TestData.swift (swift)
    • SentryEnvelopeItemHeaderTests.swift (swift)
    • URLSessionTaskHelperTests.swift (swift)
    • SentryClientTests.swift (swift)
    • OptionsInSyncWithDocs (txt)
    • SentryNoOpSpanTests.swift (swift)
    • PropertyExtractorTests.swift (swift)
    • README.md (md)
    • MdxOptionsParser.swift (swift)
    • SentryOptionsDocumentationSyncTests.swift (swift)
    • MdxOptionsParserTests.swift (swift)
    • PropertyExtractor.swift (swift)
    • SentryHttpStatusCodeRangeTests.swift (swift)
    • TestLogOutput.swift (swift)
    • TestSentryScopePersistentStore.swift (swift)
    • Recording (txt)
    • SentryCrashCTests.swift (swift)
    • SentryThreadsafeApplicationTests.swift (swift)
    • UIImageHelperTests.swift (swift)
    • SentryBinaryImageCacheTests.swift (swift)
    • SentryCrash (txt)
    • SentryCrashWrapperTests.swift (swift)
    • SentryCrashReportSinkTests.swift (swift)
    • SentryCrash+Test.h (h)
    • TestThread.h (h)
    • SentrySpanContextTests.swift (swift)
    • SentryCrashUUIDConversionTests.swift (swift)
    • TestThreadInspector.swift (swift)
    • XCTestCase+SentryCrash.h (h)
    • SentryCrashDoctorTests.swift (swift)
    • SentryStacktraceBuilderTests.swift (swift)
    • CrashReport.swift (swift)
    • SentryCrashInstallationReporterTests.swift (swift)
    • SentryUIDeviceWrapperTests.swift (swift)
    • FileBasedTestCase.h (h)
    • SentryCrashStackEntryMapperTests.swift (swift)
    • SentryCrashStackCursorSelfThreadTests.swift (swift)
    • TestSentryCrashWrapper.swift (swift)
    • SentryInAppLogicTests.swift (swift)
    • SentryFrameRemoverTests.swift (swift)
    • SentryCrashBinaryImageCacheTestHelper.h (h)
    • SentryCrashInstallationTests.swift (swift)
    • SentryDebugImageProviderTests.swift (swift)
    • TestSentryUIDeviceWrapper.swift (swift)
    • SentryDefaultThreadInspectorTests.swift (swift)
    • SentryCrashBinaryImageCache+Test.h (h)
    • Transactions (txt)
    • SentrySpanKeyTests.swift (swift)
    • SentryTraceOriginTests.swift (swift)
    • SentrySpanOperationTests.swift (swift)
    • SentrySpanTests.swift (swift)
    • SentryMetricsApiTests.swift (swift)
    • SentryMetricsApiE2ETests.swift (swift)
    • SentryNSURLRequestTests.swift (swift)
    • TelemetryScopeApplier (txt)
    • TelemetryScopeApplierTests.swift (swift)
    • TestUtils (txt)
    • FormatHexAddress.swift (swift)
    • Async.swift (swift)
    • SentryInvalidJSONString.h (h)
    • SentryBooleanSerialization.h (h)
    • EmptyIntegration.swift (swift)
    • TestConncurrentModifications.swift (swift)
    • TestExtensions.swift (swift)
    • SentryClassRegistrator.h (h)
    • SentryAssertions.swift (swift)
    • Transaction (txt)
    • SentryBaggageTests.swift (swift)
    • SentryTracer+Test.h (h)
    • SentryBuildAppStartSpansTests.swift (swift)
    • SentryTraceContextTests.swift (swift)
    • SentryTransactionTests.swift (swift)
    • SentryStrictTraceContinuationTests.swift (swift)
    • TestSentrySpan.h (h)
    • SentryLevelTests.swift (swift)
    • Integrations (txt)
    • UIEvents (txt)
    • SentryUIEventTrackerTests.swift (swift)
    • SentryUIEventTrackingIntegrationTests.swift (swift)
    • Performance (txt)
    • UIViewController (txt)
    • SentryVCTrackerLaunchProfilingTests.swift (swift)
    • SentryUIViewControllerSwizzlingHelperTests.swift (swift)
    • SentryUIViewControllerSwizzlingTests.swift (swift)
    • SentryTimeToDisplayTrackerTest.swift (swift)
    • CoreData (txt)
    • SentryCoreDataTrackingIntegrationTest.swift (swift)
    • SentryCoreDataTracker+Test.h (h)
    • SentryCoreDataSwizzlingHelperTests.swift (swift)
    • SentryCoreDataTrackerTest.swift (swift)
    • TestCoreDataStack.swift (swift)
    • SentryPerformanceTrackingIntegrationTests.swift (swift)
    • SentrySubClassFinderTests.swift (swift)
    • FramesTracking (txt)
    • SentryFramesTrackerTests.swift (swift)
    • SentryFramesTrackingIntegrationTests.swift (swift)
    • SentryPerformanceTrackerTests.swift (swift)
    • SentryInitializeForGettingSubclassesNotCalled.h (h)
    • SwizzlingCallTests.swift (swift)
    • IO (txt)
    • SentryNSDataSwizzlingHelperTests.swift (swift)
    • SentryFileIoTrackingUnitTests.swift (swift)
    • SentryFileIOTrackingIntegrationTests.swift (swift)
    • DataSentryTracingIntegrationTests.swift (swift)
    • SentryFileIOTrackerSwiftHelpersTests.swift (swift)
    • SentryFileIOTrackerTests.swift (swift)
    • SentryAppStartTrackingIntegrationTests.swift (swift)
    • SentryAppStartMeasurementProviderTests.swift (swift)
    • AppStartReportingStrategyTests.swift (swift)
    • Network (txt)
    • SentryNetworkTrackerIntegrationTests.swift (swift)
    • SentryNSURLSessionTaskSearchTests.swift (swift)
    • SentryTracePropagationTests.swift (swift)
    • URLSessionTaskMock.h (h)
    • SentryNetworkTrackingIntegrationSwiftTests.swift (swift)
    • SentrySwiftIntegrationInstallerTests.swift (swift)
    • ViewHierarchy (txt)
    • SentryViewHierarchyIntegrationTestHelper.swift (swift)
    • SentryViewHierarchyIntegrationTests.swift (swift)
    • TestSentryViewHierarchyProvider.swift (swift)
    • ATTRIBUTION.md (markdown)

    Loading code snippet…