PlayCover/PlayTools

`NSAppleMusicUsageDescription` key missing in info.plist

開放

#169 建立於 2024年8月31日

 (1 則留言) (0 個反應) (0 位負責人)Swift (122 個分叉)auto 404
good first issue

倉庫指標

星標
 (107 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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>

貢獻者指南