Forum Xamarin.Mac

Xamarin.Mac application damaged or incomplete.

SanyaAndreichukSanyaAndreichuk USMember ✭✭
edited January 26 in Xamarin.Mac

I'm working on a few Xamarin.Mac apps and recently when I'm trying to run them using new versions of VS Mac and Xamarin.Mac tooling (the apps were running fine a few months ago with an older version of tools), I'm getting these errors

  1. "Unable to launch application to debug, possibly due to it crashing quickly. See https://aka.ms/xm-crash-no-output for more help." when trying run app with a debugger.
  2. "Cannot execute MyApp.exe" when trying to run the app without a debugger.
  3. "You can’t open the application “MyApp” because it may be damaged or incomplete." when clicking on the built app icon in finder

The app is running/working fine when I try to run it from the terminal using the command MyApp.app/Contents/MacOS/MyApp

I'm using Xamarin.Mac Full target framework. Thanks for any help.

Sign In or Register to comment.