SKCloudServiceController returning denied and MPMediaQuery not supported

First of all thanks,


I'm including support of catalyst on an iPad app. I make use of SKCloudServiceController requestAuthorization on the iPad app and everything works as expected. My surprise comes when I add Catalyst support.


Every time I ask this method it always return

.denied
I reset app permissions by using
tccutil reset All my.bundle
but same. I never get
.notDetermined
state. Catalyst app is running in sandbox mode, Could be something related to this? or am I missing any entitlement?


Another surprise comes when I try to use MPMediaQuery, in my iOS app works like a charm, but when using the same code in catalyst, console raises the following error:

[SDKLibrary] -[MPMediaLibrary _initWithUserIdentity:]_block_invoke: app authorized for access, but MediaLibrary unavailable on this platform.

As per Apple documentation https://developer.apple.com/documentation/mediaplayer/mpmediaqueryMPMediaQuery is fully supported in Catalyst. Am I missing something?

I got the same issue. Did you find a solution ?

Same for me. Unfortunately also when build with XCode 12 :(
It's now working on Xcode 12 Beta 4, but you need to be on macOS Big Sur beta 4 also
Oh really? Can't wait to try that :) Did you also play a song from Apple Music on the Mac?
SKCloudServiceController returning denied and MPMediaQuery not supported
 
 
Q