vegardinho / alfred_bluetooth_controller

Alfred workflow for managing bluetooth settings and -connections
MIT License
95 stars 7 forks source link

Functions other than 'btt' and 'bto' not working #38

Closed BatuEOguz closed 3 months ago

BatuEOguz commented 3 months ago

Hi!

I'm having some trouble with getting some of the functions to work, was wondering if you might be able to help or if anyone else ran into this. It occurred after I migrated Macs. I uninstalled and reinstalled the workflow (v4) and I am currently on an M2 Mac Air, running MacOS Ventura 13.4.

The debugger output for btsetfavorite is as follows:

[00:18:30.435] Bluetooth Controller[Script Filter] Queuing argument '(null)' [00:18:30.512] Bluetooth Controller[Script Filter] Script with argv '(null)' finished [00:18:30.517] ERROR: Bluetooth Controller[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

The debugger output for 'bto', which works, is as follows:

[00:21:28.627] Bluetooth Controller[Keyword] Processing complete [00:21:28.628] Bluetooth Controller[Keyword] Passing output '' to Conditional [00:21:28.629] Bluetooth Controller[Conditional] Processing complete [00:21:28.629] Bluetooth Controller[Conditional] Passing output '' to List Filter

Sorry if this is not the preferred way to share debug code. I'm not really a coder so just copied the output. Please let me know if there's any other info I can provide to be more helpful.

Thanks so much!

B

BatuEOguz commented 3 months ago

I just resolved it so I wanted to share here what worked for me in case somebody else had the same issue. Did some googling and found this thread on Stack Exchange. Installed Xcode as directed, which resolved the issue.

Best,

B