-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--recent and --favourites not working on macOS Monterey #63
Comments
Simplest way to check is by using a script in swift: #!/usr/bin/env swift
import IOBluetooth
print(IOBluetoothDevice.favoriteDevices()!)
print(IOBluetoothDevice.recentDevices(3)!) Can you check if it is related to permissions as in #60? |
The scripts returns two empty arrays:
I've read Issue #60 and added the Terminal to the "Developer Tools" privacy section. This doesn’t affect the behaviour. Is there an elegant way to get the full system log using the Console.app or a similar tool? |
Can you try adding the Bluetooth privacy setting (and restart Terminal)? For system log there is |
Alright. I added the Terminal (and also iTerm2 – my primary terminal) to the Bluetooth and the Developer Tools privacy settings. Then run
|
@toy Any updates on that? :) |
@fsonntag Sadly no, checking on the surface showed that methods are broken and I didn't yet have time to create environment to investigate deeply. For now I can suggest checking if |
@fsonntag are you able to reproduce the bug? What device are you using? My speculation is that this bug only affects Intel based devices that run macOS 12. |
@friedrichweise Anyway, both commands run without an issue, no error output. |
|
"blueutil --recent" and "blueutil --disconnect" don't work in Monterey (among others) Until these are fixed, this patch replaces them with "--paired" and "--wait-disconnect" respectively per: toy/blueutil#63 toy/blueutil#58
I can only document that functionality is broken, concerning fixing finding devices by name, see #88 |
I'm the developer of wechsel and experiencing some issues in macOS Monterey. I'm using the last Intel Macbook from 2015, that actually supports macOS 12.
Running the following
blueutil
-command always returns an empty list:At wechsel I'm using the following Swift code to access the devices. Using
recentDevices()
orfavoriteDevices()
– either way the device list is empty:There seems to be a problem with the IOBluetooth framework on Monterey. Anyone experiencing similar issues?
The text was updated successfully, but these errors were encountered: