getsentry / getsentry/sentry-dotnet

Undefined symbols for architecture arm64 in Sentry.MAUI 5.6

Open
#4,171 3 comments 0 reactions 0 assignees View on GitHub
.NET Bug Needs Reproduction
Dominant language
C#
Stars
770
Forks
248
Avg merge
3d 4h
Merged PRs (30d)
49

Description

### Package

Sentry.Maui

### .NET Flavor

.NET

### .NET Version

9.0.203

### OS

iOS

### OS Version

_No response_

### Development Environment

Visual Studio v17.x

### SDK Version

5.6.0

### Self-Hosted Sentry Version

_No response_

### Workload Versions

maui-android 9.0.51/9.0.100 SDK 9.0.200
maui-ios 9.0.51/9.0.100 SDK 9.0.200

### UseSentry or SentrySdk.Init call

Problem in link not usage.

### Steps to Reproduce

Build a solution on an Apple Silicon Mac with a simulator target.

### Expected Result

Successful build like older versions. I use Sentry.MAUI 5.5.1 without problems.

### Actual Result

Xamarin.Shared.Sdk.targets(1652,3): Error : clang++ a quitté avec le code 1:
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SentryEventDecodable", referenced from:

"_OBJC_CLASS_$__TtC6Sentry14SentryFeedback", referenced from:

ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.