Matt Johnson-Pint
Matt Johnson-Pint
I assume you are deploying with VS for Mac 2022 Preview using a local provisoning profile then? Or some other way?
> I wonder if somehow our native sdk didn't get linked in the app. If that was the case, I should be able to reproduce it easily. So far, I...
> I'm actually using Visual Studio Entreprise 2022 (Windows) - Version 17.4.0 Preview 2.1 With [Pair to Mac](https://learn.microsoft.com/en-us/dotnet/maui/ios/pair-to-mac) I assume? I'll try that way and see if there's any difference....
Wow, ok. I didn't know about this. TIL that [Hot Restart](https://learn.microsoft.com/en-us/dotnet/maui/deployment/hot-restart) and [Hot Reload](https://learn.microsoft.com/en-us/dotnet/maui/xaml/hot-reload) are not the same things. Microsoft and naming things... lol 😅
And here's the culprit: https://learn.microsoft.com/en-us/dotnet/maui/deployment/hot-restart#prevent-code-from-executing > ... Similarly, static iOS libraries and frameworks aren't supported and you may see runtime errors or crashes if your app attempts to load these....
In the short term, if you don't need Sentry while developing locally, you could do that at initialization time. For example: ```csharp public static MauiApp CreateMauiApp() => MauiApp.CreateBuilder() .UseMauiApp() #if...
Apparently the issue is more complicated than I first understood. It is also affecting MAUI packages from others, including DevExpress. See https://github.com/dotnet/maui/issues/10800 We both have bindings to iOS projects via...
I've created a workaround. See https://github.com/dotnet/maui/issues/10800#issuecomment-1301564278 I haven't decided yet if I want to worm this into Sentry's nugets yet or not. In the meantime, you can add the workaround...
Not sure if Source Context (#646) will need to be completed first or if they are independent features.
Thanks for this! Looks promising on first glance. I'll review in more detail later this week.