已收到政策通知:Apple Music API/MusicKit 要求

Received Policy Notification: Apple Music API/MusicKit requirements

我的许多 iOS 应用程序都收到了来自 Apple 的消息。它说我将 Apple Music 用于广告,他们给我一周的时间来解决这个问题。我不使用它,也许其中一个广告图书馆使用它,但我不知道如何检查它。他们真正想让我做什么。有什么想法吗?

We are writing to let you know about new information regarding your app.

Upon re-evaluation, we found that your app is not in compliance with the App Store Review Guidelines. Specifically, we found:

Guideline 4.5.2 - Design - Apple Sites and Services

Your app appears to be using Apple Music in connection with advertising.

To resolve this issue, ensure that Apple Music user data is not used for advertising purposes. If your app is not intended to use Apple Music, it would be appropriate to remove the Apple Music APIs from your app.

To ensure there is no interruption of the availability of your app on the App Store, please submit an update within one week of the date of this message. If we do not receive an update within one week, your app may be removed from sale.

如果您不需要访问应用程序中的音乐库,请从 info.plist[ 中删除 NSAppleMusicUsageDescription 键=10=]

事实证明,我发现不使用任何音乐功能的应用程序违反了此政策,这与 中的 NSAppleMusicUsageDescription 键有关info.plist

来自 iOS 10 Apple 需要对音乐库访问权限的描述。 AdMob 使用了 Apple Music 库,作为解决方法 NSAppleMusicUsageDescription 密钥需要添加描述“Advertisement would like to use music library.” info.plist.

不再需要,我假设 AdMob 不再使用音乐库。 我没有从后续更新中删除该密钥,我认为这触发了政策通知。

我在最新更新中删除了密钥以解决此政策违规问题,并且顺利通过了批准。