jjzjj

由于 GoogleSignIn、AdMob 提交应用程序时 iOS 10 GM 发布错误 "app attempts to access privacy-sensitive data without a usage description"

coder 2023-07-24 原文

我刚开始在 iOS 10 GM 版本中遇到这个问题。我收到一封电子邮件说:

To process your delivery, the following issues must be corrected:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.

Once the required corrections have been made, you can then redeliver the corrected binary.

Regards,

The App Store team

我正在使用谷歌 GoogleSignIn。我没有使用 Firebase,但是在使用 cocoa pod 安装 GoogleSignIn 时,我在日志中看到它自动安装了 Firebase。

除了必须定义这些键之外,我们还能做些什么吗,因为我的应用与相机/照片等无关,因此我不希望用户认为我们正在使用它们。

我注意到其他人也遇到了这个问题: https://forums.developer.apple.com/thread/62229

最佳答案

这是 Google 提供的完整解决方法的链接: https://groups.google.com/d/msg/google-admob-ads-sdk/UmeVUDrcDaw/HIXR0kjUAgAJ

该链接提供更多信息,但 TL;DR 版本是您必须将三个项目添加到您的 plist:

<key>NSCalendarsUsageDescription</key>
<string>Advertisement would like to create a calendar event.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Advertisement would like to store a photo.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>Advertisement would like to use bluetooth.</string>

关于由于 GoogleSignIn、AdMob 提交应用程序时 iOS 10 GM 发布错误 "app attempts to access privacy-sensitive data without a usage description",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39383289/

有关由于 GoogleSignIn、AdMob 提交应用程序时 iOS 10 GM 发布错误 "app attempts to access privacy-sensitive data without a usage description"的更多相关文章

随机推荐