-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Unable to publish AOT compiled net9.0-ios apps #3808
Comments
While we don't call it directly in the code, it looks like we do when we compile. 🤔 A similar issue was reported there dotnet/runtime#109177 Then, the fix was released as part of .net9.0. |
Ah, there's actually a comment about a regression in net9.0: Might need to add a sample app, as the analyzers won't help here. |
This appears to be a problem with the Sentry.Samples.Maui project. I can publish
However the almost identical command to publish the sample app fails with Need to try recreating the sample app from scratch using the new net9.0 template. |
The reason we were getting analysis errors in I've added That bug is the root cause of the problems we're having publishing our sample app (and our trim test app) and being able to test anything in release apps. |
When trying to publish the Sentry.Samples.Maui app to a physical device:
AOT compilation fails with a cryptic error. Adding the following properties gives us a bit more detail:
The error is then:
It's still somewhat cryptic as we don't use the
EnumConverterFactory
anywhere directly, that I can tell.Needs investigation.
The text was updated successfully, but these errors were encountered: