Skip to content
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] Maui .Net7 Debug Crashing on Physical Device - The app has been terminated. #11324

Closed
Kremed opened this issue Nov 13, 2022 · 2 comments
Closed
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working

Comments

@Kremed
Copy link

Kremed commented Nov 13, 2022

Description

The MAUI app on my iPhone 6 is in debug mode It does not work at all, only some of the outputs and the application is stopped.

The app installed in my iPhone and I get this message :

image

When the application is clicked, the start screen appears and then the application disappears.

Output :

Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/Microsoft.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Runtime.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Collections.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Threading.Thread.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Threading.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Net.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/0F43AAF9-366F-4576-899C-EA4D5BC4BA7F/DebugCrashingIos.app/System.Numerics.Vectors.dll [External]
The app has been terminated.

Steps to Reproduce

1- Create New .Net7 MAUI APP
2- Debug on IOS Local Device => IPhone

Link to public reproduction project repository

https://github.com/Kremed/DebugCrashingIos

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 12.5.6

Did you find any workaround?

No response

Relevant log output

Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/Microsoft.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Runtime.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Collections.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Threading.Thread.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Threading.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Net.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Net.Sockets.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/AD11E8FF-160A-44B5-A29A-165A8219B19E/TestIosNet6.app/System.Private.Uri.dll [External]
The app has been terminated.
@Kremed Kremed added the t/bug Something isn't working label Nov 13, 2022
@smitha-cgi
Copy link

smitha-cgi commented Nov 14, 2022

I'm guessing your device is too old to work based on this link. I've had similar problems with an old iPhone 5.

@jsuarezruiz jsuarezruiz added the area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Nov 14, 2022
@jfversluis jfversluis added the s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue label Nov 15, 2022
@ghost
Copy link

ghost commented Nov 15, 2022

Thanks for the issue report @Kremed! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the Visual Studio for Windows feedback tool or Visual Studio for Mac feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

This issue will be automatically closed in 3 days if there are no further comments.

@Kremed Kremed closed this as completed Nov 15, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants