'MusicLibraryRequest' is unavailable in Mac Catalyst

Hi.

I'm trying out some of the new MusicKit functionality using Xcode 14 beta 3 and macOS 13 beta 3 and I'm getting the above error (or similar) whenever I use any of the new classes with a Mac Catalyst destination (an iOS 16 destination works fine).

I'm guessing one of my build settings is incorrect on either my project or target, but it's not obvious. So far I've set:

  • Project / IOS Deployment Target = 16.0
  • Target / Minimum Deployments / iOS = 16.0

Could someone please tell me what I'm missing?

Thanks in advance!

Replies

I've just noticed the detail text for the error is: "Conformance of 'Playlist' to 'MusicLibraryRequestable' has been explicitly marked unavailable here (MusicKit.Playlist)"

Is the new MusicKit functionality not yet working on Catalyst? Surely we can't have reached Beta 3 without this working?!