Skip to content

Sentry 6.8 crash on iOS devices in AOT mode (ie: release testflight) #5465

Description

@softlion

Package

Sentry.Maui

.NET Flavor

Mono

.NET Version

10.0.302

OS

iOS

OS Version

26

Development Environment

Other

Other Error Monitoring Solution

No

Other Error Monitoring Solution Name

No response

SDK Version

6.8.0

Self-Hosted Sentry Version

No response

Workload Versions

N/A

UseSentry or SentrySdk.Init call

N/A

Steps to Reproduce

N/A immediate crash, reported in ... sentry

Expected Result

no crash

Actual Result

Sentry report:

Attempting to JIT compile method 'void Sentry.Extensions.Logging.SentryStructuredLogger:Log<Microsoft.Extensions.Logging.FormattedLogValues> (Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,Microsoft.Extensions.Logging.FormattedLogValues,System.Exception,System.Func`3<Microsoft.Extensions.Logging.FormattedLogValues, System.Exception, string>)' while running in aot-only mode. See https://learn.microsoft.com/xamarin/ios/internals/limitations for more information.

No issue on 6.0.0 (last known version that work, other versions are untested, will test them)

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeBugSomething isn't workingNeeds Reproduction

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions