Always failed to add IOBluetoothSDPServiceRecord in macOS Ventura
As the title said, after I called the method "publishedServiceRecordWithDictionary", the Bluetooth XPC connection would always be interrupted and reset. The same code that I run in macOS Monterey is well executed without any warning.
And I got the following logs : [CoreBluetooth] XPC connection interrupted, resetting [IOBluetooth] Failed to add service record [CoreBluetooth] XPC connection interrupted, resetting [CoreBluetooth] XPC connection interrupted, resetting [CoreBluetooth] XPC connection interrupted, resetting [CoreBluetooth] XPC connection interrupted, resetting
Try to modify the SDP file, and all the XPC connection error are resolved. But the SDP still fails to publish....
Update :
After upgrade my mac to macOS 13.0.1 The "publishedServiceRecordWithDictionary" still not work
Please help, thanks!
After update my mac to macOS 13.0.1. The "publishedServiceRecordWithDictionary" still not work.I had already modify the SDP file and resolve the "XPC connection interrupted, resetting" problem, but still get "Failed to add service record" warning.