Mac Sandbox entitlement for Asus Xtion : Failed to open the file - macos

I am developing a Mac application that uses an Asus Xtion Pro Live camera. I activate Sandboxing and set the com.apple.security.device.usb entitlement to YES.
After doing so, the app is not able to detect the camera anymore.
Could not open "1d27/0601#253/5": Failed to open the file!
Does anyone know how to set an entitlement to enable detection of the Asus Xtion Pro Live?
Thanks!

The above problem was solved adding an entitlement:
com.apple.security.temporary-exception.files.absolute-path.read-write
for the file (found using the mac console):
/private/tmp/XnCore.Mutex.HostProtocolMutex1d27_0601#250_6.key
The problem now is that Mac Sandboxing does not allow IPC System V Semaphores.
27/06/14 12:17:50,000 kernel[0]: Sandbox: MyApp(69513) deny ipc-sysv-sem
Does anyone know how to use IPC System V Semaphores in Mac Sandboxed apps?
Thanks!

what about com.apple.security.device.camera? All available entitlement in the reference.

Related

MacOS 10.5.6 I didn't use Game Center Entitlement and Running Smoothly. I need check old version MacOS 10.15.3 but I couldn't

I have some problems. I use XAMARIN.MAC, C#. I wrote an App for Mac OS x 10.15... But they have rejected It. I couldn't found any results.
I tried MacOs 10.15.5 and MacOs 10.15.6 They are physical machines Mac
Air and Mac Pro... Running Smoothly...
My entitlement list Is
com.apple.security.app-sandbox,
com.apple.security.network.client,
com.apple.security.files.user-selected.read-write, com.apple.security.cs.allow-jit,
Do they belong to the game center? (I'm not sure) ... However, I saw under the Identifier Default clicked Game Center checkbox, I couldn't change It because It is the default.
Please follow Apple Reject Message... Do you have any idea or recommendations?
Apple Message is
Guideline 2.1 - Performance
Your app crashed on Mac running macOS 10.15.3 when we:
Launch app (clean install)
Click Analysis Window
Click Start Analysis
App immediately quits
No crash log produced
I tried Its work correctly on macOS 10.15.5 and 10.15.6. Running
Smoothly. What should I do to test the version and see what is wrong?
(They are said 10.15.3 crash It) Your app contains the Game Center
entitlement, but it does not link against the GameKit framework.
Apple Message is
Next Steps
If you would like to include Game Center, please link against the GameKit framework and submit an updated binary.
Resources
For information on Game Center, please review the Game Center Programming Guide.
I didn't use Game Center Emtlement It but I'm not sure. How can I detect?, Also, I don't
need Game Center.
My entitlement list Is
com.apple.security.app-sandbox,
com.apple.security.network.client,
com.apple.security.files.user-selected.read-write, com.apple.security.cs.allow-jit,
Best Wishes,
Volkan
You can start investigating by looking if your app links against GameKit
otool -L yourappname.app/Contents/MacOS/yourappname | grep GameKit
Then if you can see any output you might want to configure linking options and try again.

Mac app rejected as not open in new mac OS 10.14

I have submitted app twice in mac app store and they have rejected with below reason.
Guideline 2.3 - Performance
Your app does not achieve the core functionality described in your marketing materials or release notes.
Specifically, App does not launch from Finder. App icon momentarily appears on Dock but quit itself before being launched.
Best regards,
App Store Review
While I further followed up with apple then they have informed that app is not open in mac 10.14 OS.
Have any one face similar kind of issue and what is resolution steps for such kind of issue?

NSUbiquitousKeyValueStore failing on macOS Sierra

When I call NSUbiquitousKeyValueStore's synchronize method after running my app directly from Xcode on macOS Sierra, it returns false and following error is printed in Console.app:
Refusing TCCAccessRequest for service kTCCServiceUbiquity from client
com.apple.dt.Xcode in background session
As far as I can tell, changed keys are not saved to iCloud. They are remembered in memory locally but lost after app re-launch.
I believe all my entitlements are set correctly (iCloud KVS enabled in Capabalities of the project, all checked). Do I need to archive & export my app in order to debug / test iCloud on macOS?
Any ideas how to fix / workaround this?
Apple DTS has confirmed that this is an issue on Apple's side and they are working on that.
Update: Problem has been solved in macOS 10.12.1

App Sandbox issue on OSX 10.8

I'm using the following App Sandbox Temporary Exception Entitlements in my Mac app.
com.apple.security.temporary-exception.apple-events com.apple.iTunes
com.apple.security.temporary-exception.files.home-relative-path.read-write /Music/iTunes/iTunes Media/
If I build my app in OS X 10.9.4 with enabling App Sandbox, and run it in OS X 10.8.5, my app reports App Sandbox is enabled in activity monitor. But get an error which I coded.
If I build my app in OS X 10.8.5 with enabling App Sandbox, and run it in OS X 10.8.5, my app reports App Sandbox is not enabled in activity monitor. Then my app runs without any error.
I can't understand why this kind of phenomenon occur. I don't touch any code in 10.9.4 and 10.8.5. Please help me!
Do I need provide two version which is App Sandbox enabled one and not enabled App Sandbox for my app?
Also, Apple rejects "temporary-exception" used app. Is that true?
I'm not joind with Apple Developer Program, but if my app have possibility to delivered in Mac App Store, I will join with Apple Developer Program.

Use jack os x in a sandbox Mac application

On my Mac OS X application released on the App Store, I want to be able to use a Jack OS X audio device as an input but the device does not appear in the list returned by portaudio. When checking the logs in the console I see:
31/01/2014 10:11:35.000 kernel[0]: Sandbox: MyApp(xxx) deny network-outbound /private/tmp/jack_default_501_0
Is there some extra permission I should add to my entitlements file to be able to access this device properly? This device properly appears/works when using testing my app without the sandbox enabled.

Resources