maui icon indicating copy to clipboard operation
maui copied to clipboard

[IOS] Maui .NET 8 (VS 2022 17.9.6) The app has been terminated when start debugging

Open MaheshTFS opened this issue 1 month ago • 4 comments

Description

Default template MAUI app debug is crashing after splash screen on iPhone (iOS 15.8.2) "The app has been terminated."

Steps to Reproduce

  1. Default MAUI app.
  2. Debug it on iOS device.

Link to public reproduction project repository

No response

Version with bug

8.0.21 SR4.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 15.8.2

Did you find any workaround?

No

Relevant log output

The app has been terminated.

MaheshTFS avatar May 10 '24 12:05 MaheshTFS

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar May 10 '24 12:05 github-actions[bot]

Thanks for the issue report @MaheshTFS! 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.

Thanks for the issue report @MaheshTFS! This issue appears to be a problem with Visual Studio (Code), 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 (Code).

If you encounter a problem with Visual Studio or the .NET MAUI VS Code Extension, 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 .NET MAUI VS Code Extension repository 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.

Has the same issue.

Trying to debug (throught usb) maui app on IPad (5th generation, IOS 16.7.7) using Visual Studio 17.9.6 on Windows. Output log on first my computer:

The app has been terminated

Output log on second my computer:

13:03:11:977	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Private.CoreLib.dll [External]
13:03:12:032	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/Microsoft.iOS.dll [External]
13:03:12:032	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Runtime.dll [External]
13:03:12:032	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Collections.dll [External]
13:03:12:095	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Runtime.InteropServices.dll [External]
13:03:12:095	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Threading.Thread.dll [External]
13:03:12:159	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Threading.dll [External]
13:03:12:256	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Net.Http.dll [External]
13:03:12:316	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Net.Primitives.dll [External]
13:03:13:051	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Numerics.Vectors.dll [External]
13:03:22:632	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Net.Sockets.dll [External]
13:03:22:686	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Drawing.Primitives.dll [External]
13:03:22:686	Loaded assembly: /private/var/containers/Bundle/Application/65DE3163-8BF3-4911-839A-762447AB7D13/MauiExample.app/System.Private.Uri.dll [External]
13:03:31:844	The app has been terminated

alex-dubatov avatar May 13 '24 08:05 alex-dubatov

This seems like a duplicate of #11392.

@MaheshTFS @alex-dubatov I listed some things that might be able to help get around this here: https://github.com/dotnet/maui/issues/11392#issuecomment-2069827471

bzd3y avatar May 15 '24 20:05 bzd3y