1 如果关闭沙箱程序，则可以直接访问网络，蓝牙，usb，串口
2 如果开启沙箱程序，则需要网络权限，蓝牙权限，usb权限，且无法打开串口
  开启权限需要在.entitlements加入以下字段
	<key>com.apple.security.app-sandbox</key>
	<true/>
	<key>com.apple.security.device.bluetooth</key>
	<true/>
	<key>com.apple.security.device.usb</key>
	<true/>
	<key>com.apple.security.files.user-selected.read-only</key>
	<true/>
	<key>com.apple.security.network.client</key>
	<true/>
	<key>com.apple.security.network.server</key>
	<true/>
