-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 iPhone gives memory error #4037
Comments
Also run into this issue |
Same for me. If I want to run ".NET MAUI App (Preview) template" everything works ok. |
If I connect the iphone via MAC and run it over the remote device, it does not give an error. |
@aokocax Yes, I tested it now and it works from Windows via MAC (both templates). (y) |
According to #4061 (comment), it's now working to develop against a local iPhone. Can you please confirm if it's still not working on the latest preview for you? If it's working we'll close this. |
Hi @aokocax. 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. |
Hi, Unfortunately I can't. I have updated Visual Studio and MAUI but It doesn't show ios or android devices. I've been trying to fix it for two hours. |
After a few minor adjustments, I was able to run the project. #4932 The news is good, it worked smoothly. Thanks, I'm closing the issue. |
Description
I can run the default MAUI app on my iPhone (as local device), but MAUI-Blazor gives this error.
[0:] An error occurred: 'Objective-C exception thrown. Name: NSInvalidArgumentException Reason: *** NSAllocateMemoryPages(4425286896) failed
When I remove the BlazorWebView (MainPage.xaml), the problem goes away.
I tried two different device
iPhone 7 Plus iOS version 15.3
iPhone 13 Pro Max iOS version 15.1 ( It doesn't give same error but it stucks)
Steps to Reproduce
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15.1, iOS 15.3
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: