Apple Music ScriptingBridge Broken in macOS Tahoe 26

l’m trying to automate Apple Music on macOS Tahoe 26 using ScriptingBridge. Scripts that previously worked for controlling playback, fetching track info, or manipulating playlists no longer function.

For example, code like this used to work:

`import ScriptingBridge

let music = SBApplication(bundleIdentifier: "com.apple.Music") as! MusicApplication print(music.currentTrack?.name ?? "No track playing")`

But now it fails, returning nil for track info and failing to send playback commands.

Questions:

Has ScriptingBridge been deprecated or broken in Tahoe 26 for Apple Music?

Any guidance or example code would be appreciated.

Apple Music ScriptingBridge Broken in macOS Tahoe 26
 
 
Q