Skip to content

Undefined symbols for architecture arm64 in Sentry.MAUI 5.6 #4171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spelletier opened this issue May 6, 2025 · 3 comments
Open

Undefined symbols for architecture arm64 in Sentry.MAUI 5.6 #4171

spelletier opened this issue May 6, 2025 · 3 comments

Comments

@spelletier
Copy link

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)

@spelletier
Copy link
Author

I use Rider 2025.1.1 on a M1 Mac as IDE.

@jamescrosswell
Copy link
Collaborator

@spelletier I don't have any trouble building for iOS. Are you able to reliably reproduce the error you're seeing or is it intermittent?

If you could help us reproduce, we could look into it further.

@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 May 7, 2025
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2025
@github-project-automation github-project-automation bot moved this to Done in GDX May 9, 2025
@jamescrosswell jamescrosswell reopened this May 9, 2025
@spelletier
Copy link
Author

I have 3 similar MAUI solutions and it seems only one have this problem. I need to dig further to identify the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Status: No status
Development

No branches or pull requests

3 participants