MPMusicPlayerPlayParametersQueueDescriptor fails to set queue on Mac Catalyst

Originator:tanmay.sonawane
Number:rdar://FB9890331 Date Originated:9th Feb 2022
Status:Open Resolved:No
Product:Media Player Framework Product Version:macOS 12.2
Classification: Reproducible:Always
 
This issue affects only Catalyst, last reproduced by me on macOS 12.2.

Please open the attached project file and make sure to run on a system with a working Apple Music account.

When using MPMusicPlayerPlayParametersQueueDescriptor to set a queue on the systemMusicPlayer, the queue fails to get set. Only happens with a Catalyst app.
			
The following bugs are noticed on tapping the play button:
1. Nothing happens.
2. Console will be full of
`[SDKPlayback] Failed to prepareToPlay error: Error Domain=NSOSStatusErrorDomain Code=9205 "(null)"`
`[SDKPlayback] systemMusicPlayer _establishConnectionIfNeeded timeout [ping did not pong]`

Sample project: https://www68.zippyshare.com/v/pwFHJMfu/file.html

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!