MacOS App Won't Find Bluetooth Device on Monterey

I have a very simple MacOS app. I build it for M1 and Intel. When I run the app on Big Sur it works fine. When I run it on Monterey it doesn't find any devices.

I have tried this on an Intel 2015 mac with Monterey and my new M1 MBP with Monterey.

When I call the check to see if bluetooth is turned on I do get the centralManagerDidUpdateState with the CBCentralManagerStatePoweredOn, so I am getting some messages.

When I make the call to scanForPeripheralsWithServices and pass in a nil array for serviceUUIDs and any options, this works on Big Sur, but not on Monterey.

Something must have changed I just can't figure out what.

I have read that people are having some trouble with bluetooth devices like Mice and Keyboards. I am not having those issues.

I have some AirPods that work fine.

Can someone tell me what changed for developers for Bluetooth on Monterey?

I'm experiencing this as well. I've compiled my program with scanForPeripheralsWithServices:nil. No devices discovered on Monterey (12.0.1), all devices discovered on another machine running Catalina (10.15.6).

If I explicitly state UUIDs, I can discover devices on Monterey. What's changed?

MacOS App Won't Find Bluetooth Device on Monterey
 
 
Q