MusicKit sample program with free developper account

I'd like to learn programming with Swift and specifically would like to see if I can write an app that helps me with AppleMusic.

I have downloaded Xcode and the sample app from last year WWDC.

In the setup steps, it says:

"4. In Safari, visit the Certificates, Identifiers, and Profiles section of the developer web site."

The problem is that this section is not available to free developer accounts.

Is there a way to run that sample app with a free account?

I tried skipping that part but get errors when I try to search for an album in the sample app.

2022-05-27 21:55:45.949931+0200 MusicAlbums[85714:5909816] [DataRequesting] Failed retrieving tokens for MusicDataRequest.Context(url: https://api.music.apple.com/v1/storefronts/be). Error = .developerTokenRequestFailed.

Search request failed with error: .developerTokenRequestFailed.

Thank you,

** Roland **

Brussels, Belgium

Answered by Frameworks Engineer in 714971022

Hello @BelgiumRoland,

I suppose I forgot to include the word “paid” in my earlier response.

You need to be a paid member of the Apple Developer Program in order to use MusicKit.

Best regards,

Unfortunately, you cannot access AppleMusicKit or the Apple Music API without paying for a developer account. Sorry

Hello @BelgiumRoland,

Indeed, this is expected.

You need to be a member of the Apple Developer Program in order to use MusicKit.

Best regards,

I do have an account in the Apple Developper Program but it’s a free one.

I’m just beginning to develop for the Apple eco system and wanted to reach a level where it would make sense before I enrol. Also, I’m not a professional developer, this is just a hobby to keep me busy when I retire in a couple years.

Will I be able to play around with MusicKit with my free account, or would I have to enrol for that?

Accepted Answer

Hello @BelgiumRoland,

I suppose I forgot to include the word “paid” in my earlier response.

You need to be a paid member of the Apple Developer Program in order to use MusicKit.

Best regards,

You did indeed forget the key word there.

It's cristal clear now, thank you.

MusicKit sample program with free developper account
 
 
Q