我在實例化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