-
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
iOS app crashing on device at startup with .NET 8 preview 5 #15673
Comments
Did you try deploying a non-MAUI UI iOS app with that SDK to see what it does? Try running
and run the resulting program. |
Hi @jmezach. 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. |
CC @rolfbjarne, have you seen this before? |
Yes, I believe it'll be fixed by dotnet/runtime#87189. I believe .NET 8.0.100-preview.6.23315.27 or later should have the fix. |
@drasticactions I'll have to get back to you on that next week as I'm currently working from home and don't have the iOS device running this version with me, it is in the office. @rolfbjarne That issue specifically talks about Mac Catalyst which is a different OS afaik than iOS. |
That's correct, but they're very similar, and that code is specific to ARM64, which applies to both iOS and Mac Catalyst. It's also exactly the assert message I was getting on Mac Catalyst. |
@rolfbjarne Thought so, just wanted to check. We'll give it another try when preview 6 ships to see if that fixes our issue and report back here. Thanks for the quick reply! |
@rolfbjarne @drasticactions Hi not sure if same issue but any new iOS app I run in preview 5 .net 8 attached to a physical device I get error. Just launch a brand new app from template in iOS attached to a physical device and I get Is it me ? Can you run any iOS attached to a device? |
That's a known issue in preview 5 that we unfortunately were not able to fix before it went out. It'll be fixed in preview 6. |
@rolfbjarne Thank you for your prompt reply - these days is very much appreciated |
We just tried preview 6 and can confirm that this issue appears to be fixed. However we've found a new bug as described in #16097. |
Description
It seems that with .NET 8 preview 5 (and possibly earlier previews) a brand-new .NET MAUI iOS app crashes at startup on an iOS Device running iOS 12.5.5.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/jmezach/MauiApp8CrashRepro
Version with bug
8.0.0-preview.5.8529
Last version that worked well
7.0.86
Affected platforms
iOS
Affected platform versions
iPhone OS 12.5.5
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: