TzyTman/BlueToothPrint

连接成功,但是打印机没有反应,报下面的错误信息

Opened this issue · 1 comments

2017-05-12 13:30:33.656556+0800 BluetoothPrint[918:239937] libMobileGestalt MobileGestaltSupport.m:153: pid 918 (BluetoothPrint) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-05-12 13:30:33.656763+0800 BluetoothPrint[918:239937] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see rdar://problem/11744455)

[CoreBluetooth] API MISUSE: Cancelling connection for unused peripheral <CBPeripheral: 0x1740e8d00, identifier = E7C3B166-8195-4DA9-8529-2AE5C146E31D, name = mb_+G1d7tnr, state = connecting>, Did you forget to keep a reference to it?

CBPeripheral 需要保存实例之后才能连接的,你是不是忘了存下来就直接使用了?