Hello Hans,
I support the App Sandbox in Developer Technical Support. Unfortunately there are no entitlements that allow sandboxed access to HID APIs at this time.
Please file an enhancement request at <http://developer.apple.com/bugreporter>. It will probably be returned as a duplicate but that helps us gauge how many developers are affected.
I wish I had better news for you.
Best regards,
--gc
On Jan 18, 2012, at 8:30 AM, email@hidden wrote:
> Hi there,
>
> I am trying to prepare our application for the App Store. Our application
> uses the IOHidManager to gain access to joystick. Application works fine so
> far.
>
> However when I sandbox the application, which is required for the App Store
> my application is unable to access joysticks. Here is what sandbox tells me:
>
> sandboxd: deny iokit-open IOHidLibUserClient
>
> And this is what I see in the "Full report":
>
> ---------------------------
> Backtrace:
> 0 libsystem_kernel.dylib 0x00007fff9010467a mach_msg_trap + 10
> 1 libsystem_kernel.dylib 0x00007fff90103d71 mach_msg + 73
> 2 IOKit 0x00007fff9562b993 io_service_open_extended + 241
> 3 IOKit 0x00007fff955e682c IOServiceOpen + 45
> 4 IOHIDLib 0x000000010a351a99 IOHIDDeviceClass::start(__CFDictionary const*, unsigned int) + 53
> 5 IOKit 0x00007fff955e894f IOCreatePlugInInterfaceForService + 854
> 6 IOKit 0x00007fff95605752 IOHIDDeviceCreate + 328
> 7 IOKit 0x00007fff95606990 __IOHIDManagerDeviceAdded + 70
> 8 IOKit 0x00007fff95606cb3 __IOHIDManagerSetDeviceMatching + 257
> 9 IOKit 0x00007fff95606d63 IOHIDManagerSetDeviceMatchingMultiple + 165
> 10 IOKit 0x00007fff95606de2 IOHIDManagerSetDeviceMatching + 80
> ---------------------------
>
> So my question is: How do I gain access to joystick devices
> when my App is running in a Sandbox?
>
> Any help would be appreciated.
>
> Regards,
> Hans
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Usb mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
______________
Garth Cummings
Apple Developer Technical Support email@hidden
http://developer.apple.com/support/resources/technical-support.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden