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