0

我们有一个自 iOS 10 以来一直在使用的 iOS 外围模式应用程序。我们现在开始看到在 iPhone 8 或 X 上使用该应用程序时出现问题。

我们看到的失败是即使peripheralManager.startAdvertising(nil)函数调用成功完成,应用程序也没有 Advertise(没有抛出错误)

通过控制台应用程序查看日志时,我看到以下条目似乎令人不安......

error 14:29:20.743060 -0500 bluetoothd LE Advertising already in progress (handle:0 state:2). (status=65535)  
error 14:29:20.743103 -0500 bluetoothd LE Advertising already in progress (handle:0 state:2). (status=65535)  
error 14:29:20.743529 -0500 bluetoothd LE_StartAdvertising failed with status BM3 STATUS 118 currentAdvHandle=0 gMultiAdvCompleteCb=0x00000001025CEE84 numOfInstances=2  
error 14:29:20.743574 -0500 bluetoothd LE_StartAdvertising failed with status BM3 STATUS 118 currentAdvHandle=0 gMultiAdvCompleteCb=0x00000001025CEE84 numOfInstances=2  
error 14:29:20.744222 -0500 bluetoothd Failed to start advertising with result 118  
error 14:29:20.744274 -0500 bluetoothd Failed to start advertising with result 118  

我们没有更改我们应用程序中的任何代码,它似乎可以在 iPhone 7 Plus 之前的旧设备上正常运行。可以通过在设置(不是控制中心)中循环蓝牙或重新启动设备来缓解此问题。但是,这个问题会回来,而且是不可预测的。

有没有其他人遇到过这个问题或对可能发生的事情有任何见解?

谢谢

4

0 回答 0