Sandbox errors from a Unified app relating to GameController / IOHIDLibUserClient RRS feed

  • Question

  • User52795 posted

    I've switched an app over to the Unified API (full .NET 4.5) and on testing a sandboxed build I get the following errors in the console that I haven't seen before (i.e. in the Classic world):

    deny(1) mach-lookup com.apple.GameController.gamecontrollerd
    deny(1) iokit-open IOHIDLibUserClient

    I can get rid of the second error (which always appears ~15 times) by adding the 'com.apple.security.device.usb' (although I have no reason to do so as I'm not doing anything related to USBs), however I've no idea where the first one is coming from. It occurs once on startup of my app every time and I am certainly not referencing the Game Controller framework - some static initialisation in the bowels of Xamarin.Mac maybe?

    I'm running XD 6.0.1, Mono 4.4.1 and XamMac and I'm pretty sure this'll mean I can't submit to the Mac App Store successfully so I'd definitely like to find out where it's coming from or if I can stop it from happening.

    Saturday, June 25, 2016 4:43 PM

All replies

  • User52795 posted

    Definitely a bug in Xamarin.Mac unified and easily reproduced, reported here: https://bugzilla.xamarin.com/show_bug.cgi?id=42177

    Sunday, June 26, 2016 2:48 PM
  • User35201 posted

    Thanks for the report! I've seen that as well.

    In my experience they are just noise/cosmetic. Are you seeing that as well?

    Tuesday, June 28, 2016 1:36 AM
  • User52795 posted

    Yeah, they don't effect the running of my app at all, so definitely noise. Not sure if Apple will reject it or not (a lot of their own apps do the same sort of thing), so will report back when I next submit an update!

    Tuesday, June 28, 2016 7:47 AM
  • User35201 posted

    I highly doubt it will break submission, or every Xamarin.Mac app would likely be broken.

    Tuesday, June 28, 2016 1:14 PM
  • User52795 posted

    Good point! I guess I'm just used to being unlucky with app review! Thanks again (and also for sysdrawing-coregraphics - finally got around to porting to mobile unified and away from the flaky old System.Drawing and everything works beautifully).

    Tuesday, June 28, 2016 1:52 PM