-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
MAUI Blazor hybrid apps crashing on iOS / iPadOS / macOS #3980
Comments
Encountered a somewhat similar issue. I'm getting the same error message using the |
Could this be related to MSAL not working? (see AzureAD/microsoft-authentication-library-for-dotnet#3093) |
@chrfin I'm not sure - the default MAUI Blazor app template doesn't use auth, does it? I know I've tried with other apps that don't use auth. |
Just a guess from my side, as the MSAL problem seems also to have something to do with a |
Update: with .NET MAUI Preview 12, the default .NET MAUI Blazor app template does run on iOS (provided you deal with the CSS file issue which is still occurring). The app still locks up on Mac via the maccatalyst workload. I also noticed tapping on any links on the iOS app crashes the app instantly, but I didn't see anything in the console when I tried. |
FYI, this is what I see in the debug output when the app crashes after clicking on a link:
|
#4268 fixes this issue. However, I believe the original error you were seeing:
is something different, hence I'm keeping this issue open. |
Can confirm, that issue is fixed with Preview 13. Thanks! |
FYI, I added a link to #4717 in the description. |
Seems I was too fast with reading there is still something to do here... |
@jfversluis FYI, this issue is still in 'Triage/Done' - not sure if it might fall through the cracks unless it's moved elsewhere. :-) |
@codemonkey85 we got this on our radar, thanks for looking out! |
Not reproducible with iOS & iPadOS 15.2. |
@codemonkey85 the instructions here tell you how to install preview 14 and I think it has all the issues mentioned in here fixed and I'm able to run the Blazor apps on iOS and macOS. Can you confirm? |
Hi @codemonkey85. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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. |
@jfversluis I will test with Preview 14 and get back to you. FYI, I ran into an issue installing Preview 14, not sure yet how / if it will impact my test:
|
@jfversluis After trying to update to Preview 14 and getting the aforementioned error, I created a .NET MAUI Blazor app from VS 2022 17.2.0 Preview 1, tried to build the unchanged default template, and ran into build errors. If you want to see the project itself, it's on my GitHub: https://github.com/codemonkey85/MauiBlazorPreview14Test1 |
Ugh. Maybe best wait until all the bits are out officially |
@jfversluis I will test again when Preview 14 is released. I'm guessing that's next week-ish? |
My guess it would be somewhere around then indeed. Thanks for your time and patience on this one! |
This should be fixed in an upcoming servicing release. |
@Redth Which part, the issues with the Apple account? (EDIT: I guess not, as that issue is apparently under investigation: https://developercommunity.visualstudio.com/t/Cannot-load-Apple-certificates/1692185) |
@codemonkey85 both parts :) The cert issues seem to be a change on the Apple side, everyone is impacted by that. I'm fairly confident the rest will work with the latest bits as well. Keep an eye on the cert stuff, when that is resolved you'll be able to test the rest. If that doesn't work feel free to ping me or open a new issue for it. Thanks! |
There hasn't been a new release yet, so stay tuned |
As mentioned a couple of times now, this is fixed in a new release. It's of not much use to try and fix this now :) |
Sorry, I thought they were different bugs. Thank you so much for your patience. |
Description
The .NET splash screen loads, then I get a blank screen (same background color as the splash screen but without the text).
Screenshots:
See the attached error log for the console output. I think this is the highlight:
Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.
Steps to Reproduce
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
iOS 15.2, iPadOS 15.2, macOS 12.1
Did you find any workaround?
Not exactly - .NET MAUI apps do work on iOS / iPadOS, but not MAUI Blazor apps.
Relevant log output
Click to expand!
The text was updated successfully, but these errors were encountered: