CrosBox hubs upon starting on Mono 4.8

Steps:
Install VisualStudio on macOS wich installs Mono 4.8
After this CrossBox does not work anymore because it stop responding upon starting up

A workaround is to reinstall Mono 4.6 however I did not verify how it affects VisualStudio for macOS

4.8 is still beta, right? can you elaborate on “doesn’t work anymore”?

mono 4.8 not support CROSSBOX

Unhandled Exception:
System.MethodAccessException: Method `Monobjc.Dynamic.Proxies.CrossBox.Mac.Interface.nib.ApplicationController:ImportMembers (CrossBox.Mac.Interface.nib.ApplicationController)' is inaccessible from method `Monobjc.SafeNativeMethods:object_getInstanceVariable (intptr,string,intptr)'

  at (wrapper managed-to-native) 91E18AB5:pinvoke (intptr,intptr,intptr,intptr)
  at 91E18AB5.objc_msgSend (System.IntPtr receiver, System.IntPtr selector, System.Object[] parameters) [0x00034] in <24324d9a49eb4961afd45850539ef244>:0 
  at Monobjc.Bridge.Generators.DynamicMessagingGenerator.SendMessage[TReturnType] (System.String message, System.IntPtr receiver, System.IntPtr selector, System.Object[] parameters) [0x000d0] in <3acaaf7deacf45ad8da69a37f6f6876f>:0 
  at Monobjc.ObjectiveCRuntime.SendMessage[TReturnType] (Monobjc.IManagedWrapper receiver, System.String selector, System.Object[] parameters) [0x00054] in <3acaaf7deacf45ad8da69a37f6f6876f>:0 
  at Monobjc.Cocoa.NSBundle.LoadNibNamedOwner (Monobjc.Cocoa.NSString aNibName, Monobjc.Id owner) [0x00000] in <0cae9098c16c497bb9937659d38dee8c>:0 
  at Monobjc.Cocoa.NSApplication.LoadNib (System.String filename) [0x0002a] in <0cae9098c16c497bb9937659d38dee8c>:0 
  at CrossBox.Program.Main (System.String[] args) [0x000c2] in <825a3486349d4879af11b41eb1e20f6e>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.MethodAccessException: Method `Monobjc.Dynamic.Proxies.CrossBox.Mac.Interface.nib.ApplicationController:ImportMembers (CrossBox.Mac.Interface.nib.ApplicationController)' is inaccessible from method `Monobjc.SafeNativeMethods:object_getInstanceVariable (intptr,string,intptr)'

  at (wrapper managed-to-native) 91E18AB5:pinvoke (intptr,intptr,intptr,intptr)
  at 91E18AB5.objc_msgSend (System.IntPtr receiver, System.IntPtr selector, System.Object[] parameters) [0x00034] in <24324d9a49eb4961afd45850539ef244>:0 
  at Monobjc.Bridge.Generators.DynamicMessagingGenerator.SendMessage[TReturnType] (System.String message, System.IntPtr receiver, System.IntPtr selector, System.Object[] parameters) [0x000d0] in <3acaaf7deacf45ad8da69a37f6f6876f>:0 
  at Monobjc.ObjectiveCRuntime.SendMessage[TReturnType] (Monobjc.IManagedWrapper receiver, System.String selector, System.Object[] parameters) [0x00054] in <3acaaf7deacf45ad8da69a37f6f6876f>:0 
  at Monobjc.Cocoa.NSBundle.LoadNibNamedOwner (Monobjc.Cocoa.NSString aNibName, Monobjc.Id owner) [0x00000] in <0cae9098c16c497bb9937659d38dee8c>:0 
  at Monobjc.Cocoa.NSApplication.LoadNib (System.String filename) [0x0002a] in <0cae9098c16c497bb9937659d38dee8c>:0 
  at CrossBox.Program.Main (System.String[] args) [0x000c2] in <825a3486349d4879af11b41eb1e20f6e>:0 
Ribbons:~ mh []+ $ 

:frowning:

How to solve ?

don’t use unsupported alpha builds of Mono that have bugs.