I'm using C8 and trying to debug this app: https://bugzilla.xamarin.com/show_bug.cgi?id=44707
If you look on its info.plist it requires OSX 10.11 but I'm running on 10.10.5 (yeah, judge me for that).
XS returns immediately from launching and registers nothing on log files or the app output window.
It should not not let me launch, it should tell me that I should not be able to do that due the deployment target restriction.
I found out the issue by running it from the shell. Here's the crash output:
application requires at least Mac OS X version 10.11.0 (10.11), but is being run on 10.10.5 ( 10.10.5/14F1909), and so is exiting.Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain (int,string) <IL 0x0005a, 0x0014d>
at AppKit.NSApplication.Main (string) [0x00041] in /Users/builder/data/lanes/3821/979cd550/source/xamarin-macios/src/AppKit/NSApplication.cs:94
at RemotingTest.MainClass.Main (string) [0x00007] in /Users/kumpera/src/mono/mono/tmp/RemotingTest/RemotingTest/Main.cs:10
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00051, 0x000e0>
0 RemotingTest 0x0000000100b845ba mono_handle_native_sigsegv + 282
1 libsystem_platform.dylib 0x00007fff90935f1a _sigtramp + 26
2 libsystem_asl.dylib 0x00007fff837c5b42 setlogmask + 2487
3 libsystem_c.dylib 0x00007fff8c2849a3 abort + 129
4 HIServices 0x00007fff8cbce21f ApplicationTypeGet + 0
5 HIServices 0x00007fff8cbcbe4d GetCurrentProcess + 24
6 HIToolbox 0x00007fff84f082a7 _ZN15MenuBarInstance18GetAggregateUIModeEPjS0_ + 43
7 HIToolbox 0x00007fff84f08259 _ZN15MenuBarInstance9IsVisibleEv + 39
8 AppKit 0x00007fff85dec05b _NSInitializeAppContext + 43
9 AppKit 0x00007fff85deb2b0 -[NSApplication init] + 605
10 AppKit 0x00007fff85deae7f +[NSApplication sharedApplication] + 138
11 AppKit 0x00007fff85de9c56 NSApplicationMain + 314
12 ??? 0x00000001072b278e 0x0 + 4415235982
13 ??? 0x00000001072b2604 0x0 + 4415235588
14 RemotingTest 0x0000000100b94a40 mono_jit_runtime_invoke + 2272
15 RemotingTest 0x0000000100c45ac8 do_runtime_invoke + 88
16 RemotingTest 0x0000000100c47fa0 mono_runtime_exec_main + 896
17 RemotingTest 0x0000000100c47b5d mono_runtime_run_main + 909
18 RemotingTest 0x0000000100aea3a7 mono_jit_exec + 247
19 RemotingTest 0x0000000100aec722 mono_main + 8098
20 RemotingTest 0x0000000100a929c4 xamarin_main + 980
21 RemotingTest 0x0000000100a936d4 main + 36
22 libdyld.dylib 0x00007fff8cbb55c9 start + 1
23 ??? 0x0000000000000001 0x0 + 1
Debug info from gdb:
Using 22.214.171.1249 I can see that there is an error when launching notifying that launch failed with pid -1
Still, the error should be caught at build time.
Marking this bug as CONFIRMED
Notice (2018-05-21): bugzilla.xamarin.com will be
switching to read-only mode on Thursday, 2018-05-25 22:00 UTC.
Please join us on
Visual Studio Developer Community and
GitHub to continue tracking
issues. Bugzilla will remain available for reference in read-only mode.
We will continue to work on open Bugzilla bugs and copy them to the new
locations as needed for follow-up. The See Also field
on each Bugzilla bug will be updated with a link to its new location
After Bugzilla is read-only, if you have new information to add for a
bug that does not yet have a matching issue on Developer Community or
GitHub, you can create a follow-up issue in the new location. Copy and
paste the title and description from this bug, and then add your new
details. You can get a pre-formatted version of the title and
In special cases you might also want the comments:
Our sincere thanks to everyone who has contributed on this bug tracker
over the years. Thanks also for your understanding as we make these
adjustments and improvements for the future.