我有一个应用程序使用IOBluetooth将自己注册为蓝牙服务,并在接收传入的RFCOMM连接时将其自身设置为自动启动。
它正在开发OS X Lion。
但是在Mavericks上,应用程序无法启动,如果我打开控制台,我会看到:
sandboxd[314]: ([83]) blued(83) deny file-read-metadata /Applications/MyBluetoothApp.app
看起来沙盒阻挡了我。为什么? IOBluetooth API不应该解决这个问题吗? 我怎样才能防止这种情况发生?