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.

Answered by DTS Engineer in 861337022

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

It's not ScriptingBridge, it's Music.

It's broken with AppleScript, it's broken with Shortcuts, it's broken with 3rd party AppleEvents software such as py-appscript, it's broken with ScriptingBridge. There are a variety of bugs, of which this is just one.

If it were just AppleEvents or ScriptingBridge I'd assume the bitrot had just finally caught up to us, but the fact that Shortcuts is equally broken tells me that something is actually broken here and might get fixed. I would recommend filing a feedback.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports.

Bug Reporting: How and Why? has tips on creating your bug report.

Apple Music ScriptingBridge Broken in macOS Tahoe 26
 
 
Q