Post

Replies

Boosts

Views

Activity

Signing error when implementing playbackState reporting
Hi, I'm trying set playbackState like swift MPNowPlayingInfoCenter.default().playbackState = .playing But I receive an error in console. [NowPlaying] [MRNowPlaying] Ignoring setPlaybackState because application does not contain entitlement com.apple.mediaremote.set-playback-state for platform I tried to add it to applications *.entitlements file: xml     keycom.apple.mediaremote.set-playback-state/key     true/ But after that I cannot even build my application due to signing error: Provisioning profile "iOS Team Provisioning Profile: app.name" doesn't include the com.apple.mediaremote.set-playback-state entitlement. I use a free development certificate if it is important. Xcode version is 12.4. Did anyone face with same issue? What do I wrong? What should I do to solve an issue? Thanks for any help!
6
1
5.9k
Mar ’23