【问题标题】:Mac Sandbox entitlement for Asus Xtion : Failed to open the fileAsus Xtion 的 Mac 沙盒权利:无法打开文件
【发布时间】:2014-05-30 18:54:18
【问题描述】:

我正在开发一个使用 Asus Xtion Pro Live 摄像头的 Mac 应用程序。我激活沙盒并将 com.apple.security.device.usb 授权设置为 YES。

执行此操作后,应用无法再检测到摄像头。

Could not open "1d27/0601@253/5": Failed to open the file!

有谁知道如何设置授权以启用对 Asus Xtion Pro Live 的检测?

谢谢!

【问题讨论】:

    标签: macos usb sandbox entitlements asus-xtion


    【解决方案1】:

    上述问题通过添加权利得到解决:

    com.apple.security.temporary-exception.files.absolute-path.read-write 
    

    对于文件(使用 mac 控制台找到):

    /private/tmp/XnCore.Mutex.HostProtocolMutex1d27_0601@250_6.key
    

    现在的问题是 Mac 沙盒不允许 IPC System V 信号量。

    27/06/14 12:17:50,000 kernel[0]: Sandbox: MyApp(69513) deny ipc-sysv-sem
    

    有人知道如何在 Mac 沙盒应用程序中使用 IPC System V 信号量吗?

    谢谢!

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 2013-08-06
        • 1970-01-01
        • 2021-04-19
        • 1970-01-01
        • 1970-01-01
        • 2016-12-07
        • 1970-01-01
        • 1970-01-01
        • 2014-01-27
        相关资源
        最近更新 更多