Unable to add MusicKit capability

I have an existing Xcode project that I am trying to add MusicKit to, but for some reason I am unable to. I have logged into my developer account, and ticked off the MusicKit checkbox under the Services tab of my app in the Certificates, Identifiers & Profiles section. In Xcode I have Automatically manage signing set to true. But MusicKit does not show up as a Capability, neither in the list of capabilities in my app, nor when trying to add it with the +Capability button. I have done this successfully before with Game Center, so I really do not understand why this does not work with MusicKit.

Any ideas as to how this can be solved?

Answered by FPST in 816456022

There is no need to add a MusicKit Capability in Xcode. You only have to provide a NSAppleMusicUsageDescription in your Info.plist.

Accepted Answer

There is no need to add a MusicKit Capability in Xcode. You only have to provide a NSAppleMusicUsageDescription in your Info.plist.

You will need to generate a key in your developer portal in order to interface with the Apple Music API, but this is different than a capability.

Rico


WWDR | DTS | Software Engineer

Unable to add MusicKit capability
 
 
Q