我在实例化CBCentralManager时遇到问题。从iOS控制台监视它时,我收到“重复问题”消息(它不显示在XCode控制台中)。iOS蓝牙状态保存和恢复的重复问题-25299
我试过更新队列名称和恢复密钥ID没有成功。这是我实例化我的中央管理器:
CBCentralManager *central = [[CBCentralManager alloc] initWithDelegate: self
queue: dispatch_queue_create("com.mydomain.myapp.scanner", NULL)
options: @{
CBCentralManagerOptionRestoreIdentifierKey: @"hexa-string-comes-here"
}];
而这些是我收到的错误:
CKLs-iPhone-5S securityd[78] : securityd_xpc_dictionary_handler MyApp[2571] add The operation couldn’t be completed. (OSStatus error -25299 - duplicate item O,genp,E99372E2,L,ck,X2W6M5UYJ9.com.mydomain.myapp,0,acct,svce,v_Data,20151218165347.298588Z,2CAE5650)
CKLs-iPhone-5S MyApp[2571] : SecOSStatusWith error:[-25299] The operation couldn’t be completed. (OSStatus error -25299 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -25299 - duplicate item O,genp,E99372E2,L,ck,X2W6M5UYJ9.com.mydomain.myapp,0,acct,svce,v_Data,20151218165347.298588Z,2CAE5650))
任何想法?
是什么,当你的名字你的队列不同(例如'“com.mydomain.myapp.scanner1_fkou3h4t”')发生的呢? –
似乎没有任何改变@MichaelDorner – marcelosalloum