-
-
Notifications
You must be signed in to change notification settings - Fork 227
Description
Package
Sentry.Maui
.NET Flavor
.NET
.NET Version
9.0.300
OS
iOS
OS Version
18.4/18.5
Development Environment
Visual Studio Code (MacOS)
SDK Version
5.7.0
Self-Hosted Sentry Version
No response
Workload Versions
Installed Workload Id Manifest Version Installation Source
maui 9.0.51/9.0.100 SDK 9.0.300
UseSentry or SentrySdk.Init call
builder.UseSentry(options =>
{
options.AttachScreenshot = true;
options.AttachStacktrace = true;
options.AutoSessionTracking = true;
options.CaptureFailedRequests = true;
options.CreateElementEventsBreadcrumbs = true;
options.DetectStartupTime = StartupTimeDetectionMode.Fast;
options.DiagnosticLevel = SentryLevel.Error;
options.DiagnosticLogger = new TraceDiagnosticLogger(SentryLevel.Error);
options.Dsn = builder.Configuration.GetSection("Sentry").GetValue("DSN");
options.EnableScopeSync = true;
options.IncludeBackgroundingStateInBreadcrumbs = true;
options.IncludeTextInBreadcrumbs = true;
options.IncludeTitleInBreadcrumbs = true;
options.IsGlobalModeEnabled = true;
options.MinimumBreadcrumbLevel = Microsoft.Extensions.Logging.LogLevel.Error;
options.MinimumEventLevel = Microsoft.Extensions.Logging.LogLevel.Error;
options.ProfilesSampleRate = 1.0;
options.SampleRate = 1.0f;
options.SendClientReports = true;
options.SendDefaultPii = true;
options.TracesSampleRate = 1.0;
});
Steps to Reproduce
- Upgrade XCode to 16.3/16.4
- Upgrade Maui workloads to 9.0.51
- Upgrade NET SDK to 9.0.300
- Upgrade Sentry SDK to 5.7.0
- Debug App
Expected Result
App does not crash
Actual Result
App crashes on launch. Crash log below. Removing Sentry SDK completely from the solution resolves crashing issue.
Code Type: ARM-64 (Native)
Date/Time: 2025-05-20 09:57:07.1745 -0500
Launch Time: 2025-05-20 09:57:07.1482 -0500
OS Version: iPhone OS 18.5 (22F76)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: DYLD 4 Symbol missing
Symbol not found: OBJC_CLASS$_SentryEventDecodable
Referenced from: /Volumes/VOLUME//App.app/App
Expected in: /Volumes/VOLUME//App.app/Frameworks/Sentry.framework/Sentry
(terminated at launch; ignore backtrace)
Metadata
Metadata
Assignees
Labels
Projects
Status
Status