musickit

Search the Apple Music catalog and manage playback with MusicKit and MediaPlayer APIs.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill musickit-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: musickit
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/musickit
Command: npx skills add https://github.com/onymchat/onym-ios --skill musickit-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Apple Music integration in iOS apps can be complex, requiring setup, authentication, and proper playback coordination across components.

Core Features & Use Cases

  • Catalog search and playback using MusicKit and ApplicationMusicPlayer
  • Now Playing metadata publishing via MPNowPlayingInfoCenter and MPRemoteCommandCenter
  • Subscription checks, remote command handling, and queue management for a complete music experience

Quick Start

Search the catalog for a track and start playback with ApplicationMusicPlayer while updating Now Playing metadata.

Frequently Asked Questions about musickit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Apple Music playback and Now Playing metadata in an iOS app?

You integrate Apple Music playback in iOS using MusicKit and ApplicationMusicPlayer to manage the queue, while publishing playback state to the lock screen via MPNowPlayingInfoCenter and MPRemoteCommandCenter.

What's the best way to search the Apple Music catalog and start playback in Swift?

The best way to search the Apple Music catalog is using MusicKit APIs to fetch tracks, then passing the results to ApplicationMusicPlayer to manage the playback queue and start audio streaming natively.

Does MusicKit require an Apple Music subscription check before playing tracks?

Yes, MusicKit requires a subscription check to determine user playback eligibility. You must verify subscription status before allowing users to search the catalog and stream tracks via ApplicationMusicPlayer.

Can I use MPRemoteCommandCenter to handle iOS lock screen playback controls?

Yes, you use MPRemoteCommandCenter to handle iOS lock screen playback controls. It integrates with MPNowPlayingInfoCenter to synchronize remote command actions like play, pause, and skip with your ApplicationMusicPlayer queue.

What iOS and Swift versions are required for ApplicationMusicPlayer and Now Playing integration?

ApplicationMusicPlayer and Now Playing integration requires Swift 6.3 and iOS 26+. These minimum versions are necessary to support the current MusicKit, MPNowPlayingInfoCenter, and MPRemoteCommandCenter APIs.