CBCentralManager authorization not update before reboot app

I have an app, which need to get the authorization of bluetooth. on macOS 12.0.1 (21A559), it seems something wrong.

[CBCentralManager authorization]

if the authorization is CBManagerAuthorizationDenied when the app is launch, even though I give the authorization in System Preferences。 [CBCentralManager authorization] also return CBManagerAuthorizationDenied.

Anybody can tell me what happen?

CBCentralManager authorization not update before reboot app
 
 
Q