Closed thomaschenato closed 1 month ago
Please provide a complete test project we can use to reproduce the problem, that way we can be sure we're testing the same thing.
Hi @thomaschenato. We have added the "need-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/xamarin/xamarin-macios/blob/main/docs/bug-repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
Hi @thomaschenato. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.
Hello,
I'm working on a Xamarin.iOS migration to .NET 8. However encounter a runtime crash "JIT compile method while running in aot-only mode"
I've read up a few past issues / articles around JIT/AOT crashes in Xamarin / Xamarin.Form and the workaround solution in the past e.g.
https://github.com/xamarin/xamarin-macios/issues/15681
However this workaround doesn't seem to work in .NET 8 as it trigger a crash at app launching.
Please see the detail below and wonder if there is fix in .NET 8 with AutoMapper on iOS
Steps to Reproduce
TargetObject targetObject = mapper.Map<TargetObject>(info);
Expected Behavior
Target object can be created
Actual Behavior
Environment
Version information
``` macOS Sonoma 14.1 XCode 15.1 .NET 8 SDK 8.0.203 ```Build Logs
Example Project (If Possible)