Skip to content

Possible Sentry backward compatibility issue between 5.6.0 and 5.11.2 #4397

@minori-fh

Description

@minori-fh

Package

Sentry.Maui

.NET Flavor

.NET

.NET Version

9.0.300

OS

iOS

OS Version

No response

Development Environment

Rider 2024 (MacOS)

SDK Version

5.6.0

Self-Hosted Sentry Version

No response

Workload Versions

android 35.0.61/9.0.100 SDK 9.0.300

ios 18.4.9289/9.0.100 SDK 9.0.300

maui-android 9.0.51/9.0.100 SDK 9.0.300

maui-ios 9.0.51/9.0.100 SDK 9.0.300

maui-tizen 9.0.51/9.0.100 SDK 9.0.300

UseSentry or SentrySdk.Init call

Pending

Steps to Reproduce

  1. Create a .NET MAUI iOS app using JetBrains Rider on macOS.
  2. Add the Sentry NuGet package v5.6.0 to the project.
  3. Build and run the app on a physical iOS device (e.g., iPhone XR) — app should launch successfully.
  4. Upgrade the Sentry NuGet to v5.11.2, build and run the app again. During testing, cause a crash (e.g., null reference).
  5. Downgrade Sentry back to v5.6.0.
  6. Perform a clean build (remove /bin and /obj), uninstall the app from the iPhone, then redeploy using Rider.

Expected Result

App should run successfully after downgrade.

Actual Result

On launch, the app crashes at startup with the following error in Xcode logs:

Exception Type: EXC_CRASH (SIGABRT)
Termination Reason: DYLD 4 Symbol missing
Symbol not found: _OBJC_CLASS_$_SentryEventDecodable

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeBugSomething isn't working

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions