Ios 错误库libUartLib.a(打印蓝牙)

Ios 错误库libUartLib.a(打印蓝牙),ios,objective-c,core-bluetooth,Ios,Objective C,Core Bluetooth,有人使用libUartLib.a库开发过吗 因为我有以下错误: -[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0 2015-10-02 17:13:29.265 DAPPER[2639:1705276] *** Terminating app due to uncaught exception 'NSInvalidArgumentException

有人使用libUartLib.a库开发过吗

因为我有以下错误:

-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0
2015-10-02 17:13:29.265 DAPPER[2639:1705276] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CBCentralManager retrieveConnectedPeripherals]: unrecognized selector sent to instance 0x15e868d0'
*** First throw call stack:
(0x27a5186b 0x394bedff 0x27a57035 0x27a54c8f 0x279842b8 0x1018a3 0x27714a55 0x22cdbf 0x22cdab 0x231829 0x27a14595 0x27a12a8f 0x279651e9 0x27964fdd 0x30bc9af9 0x2bbca18d 0x1002b9 0x39be9873)
libc++abi.dylib: terminating with uncaught exception of type NSException
如果您参考,您会发现该方法在iOS 7中已被弃用,并且在iOS 9中已被删除。替换内容是
retrieveconnectedperipheralsithservices
,因此您需要库的更新版本,或者在作者未更新库的情况下自己更新库,或者确定替代版本