PlayCover/PlayTools

`NSAppleMusicUsageDescription` key missing in info.plist

Ouverte

#169 ouverte le 31 août 2024

 (1 commentaire) (0 réaction) (0 personne assignée)Swift (122 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (107 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Some apps may crash on start due to the absence of the NSAppleMusicUsageDescription key in info.plist when an Apple Music subscription is active in the host device.

Termination Reason:    Namespace TCC, Code 0 
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.

Workaround:

Adding the key manually to info.plist:

<key>NSAppleMusicUsageDescription</key>
	<string>Anything</string>

Guide contributeur