ApplicationMusicPlayer.shared doesn't play explicit content on MacCatalyst

I am developing an app running on iOS/iPadOS and on macOS using MacCatalyst. It uses ApplicationMusicPlayer.shared to play music from Apple Music. However, on the Mac songs with contentRating == .explicit do not work.

I will get the following error (sorry, German localization):

Failed to prepareToPlay error=<MPMusicPlayerControllerErrorDomain.6 "Failed to prepare to play" {}>
Error playing item: Der Vorgang konnte nicht abgeschlossen werden. (MPMusicPlayerControllerErrorDomain-Fehler 6.)

On iOS/iPadOS these songs play correctly. What can I do to also play explicit songs using MacCatalyst?

Thanks, Dirk

Ideally a bug a report with a sysdiagnose would let us debug the issue. Can you file a bug report with these items and reply here with the bug number?

ApplicationMusicPlayer.shared doesn't play explicit content on MacCatalyst
 
 
Q