sentry-cocoa: Crash reports for app extensions not discovered

Platform

iOS

Installed

CocoaPods

Version

7.9.0

Steps to Reproduce

Start SentrySDK with options and options.debug = true. Simulate a crash with SentrySDK.crash(), restart the target, logs will indicate that 0 crash logs are uploaded.

Expected Result

I would expect that the SentrySDK finds the crash reports for my app extension and push them to the Sentry instance.

Actual Result

2022-02-02 21:13:39.356409+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Sent 0 crash report(s)
2022-02-02 21:13:39.356967+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryCrashIntegration
2022-02-02 21:13:39.357081+0100 StackFilesExtension[27589:2879105] Sentry - debug:: No tracesSampleRate and tracesSampler set. Will not track slow and frozen frames.
2022-02-02 21:13:39.357183+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryFramesTrackingIntegration
2022-02-02 21:13:39.357358+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Add breadcrumb: <SentryBreadcrumb: 0x60000239f440>
2022-02-02 21:13:39.358085+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryAutoBreadcrumbTrackingIntegration
2022-02-02 21:13:39.358221+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Reading timestamp of last in foreground at: /Users/jbehrens/Library/Developer/CoreSimulator/Devices/34218245-8B17-4D59-8E81-2876B839C4C8/data/Containers/Data/PluginKitPlugin/6D7D12E7-FD57-4EE7-BBC6-D1C4666F7A90/Library/Caches/io.sentry/037f4af6271b8e43b2110d85bfedc06989fb2984/lastInForeground.timestamp
2022-02-02 21:13:39.358397+0100 StackFilesExtension[27589:2879105] Sentry - debug:: No lastInForeground found.
2022-02-02 21:13:39.358545+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Reading from session: /Users/jbehrens/Library/Developer/CoreSimulator/Devices/34218245-8B17-4D59-8E81-2876B839C4C8/data/Containers/Data/PluginKitPlugin/6D7D12E7-FD57-4EE7-BBC6-D1C4666F7A90/Library/Caches/io.sentry/037f4af6271b8e43b2110d85bfedc06989fb2984/session.current
2022-02-02 21:13:39.358745+0100 StackFilesExtension[27589:2879105] Sentry - debug:: No cached session to close.
2022-02-02 21:13:39.358880+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryAutoSessionTrackingIntegration
2022-02-02 21:13:39.359026+0100 StackFilesExtension[27589:2879105] Sentry - debug:: No tracesSampleRate and tracesSampler set. Will not track app start up time.
2022-02-02 21:13:39.359143+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryAppStartTrackingIntegration
2022-02-02 21:13:39.359325+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryOutOfMemoryTrackingIntegration
2022-02-02 21:13:39.359459+0100 StackFilesExtension[27589:2879105] Sentry - debug:: No tracesSampleRate and tracesSampler set. Will not start SentryPerformanceTrackingIntegration.
2022-02-02 21:13:39.359583+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryPerformanceTrackingIntegration
2022-02-02 21:13:39.359766+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Not going to enable NetworkTracking because isTracingEnabled is disabled.
2022-02-02 21:13:39.360465+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryNetworkTrackingIntegration
2022-02-02 21:13:39.360627+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Not going to enable FileIOTracking because tracing is disabled.
2022-02-02 21:13:39.360755+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Integration installed: SentryFileIOTrackingIntegration
2022-02-02 21:13:39.592786+0100 StackFilesExtension[27589:2879697] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-02-02 21:13:39.595503+0100 StackFilesExtension[27589:2879697] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-02-02 21:13:39.647703+0100 StackFilesExtension[27589:2879107] Sentry - debug:: Add breadcrumb: <SentryBreadcrumb: 0x600002398180>
2022-02-02 21:13:39.647703+0100 StackFilesExtension[27589:2879105] Sentry - debug:: Add breadcrumb: <SentryBreadcrumb: 0x6000023948c0>
2022-02-02 21:13:39.721798+0100 StackFilesExtension[27589:2879699] [boringssl] boringssl_metrics_log_metric_block_invoke(151) Failed to log metrics
2022-02-02 21:13:39.751978+0100 StackFilesExtension[27589:2879700] Sentry - debug:: Add breadcrumb: <SentryBreadcrumb: 0x6000023907c0>```

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (13 by maintainers)

Most upvoted comments

Closing this issue as it seems to have been fixed some time ago.

Thanks @jbehrens94. This is a little deeper than I have thought. I’m adding this to our backlog, but unfortunately I can’t give you a ETA right now.