提交应用程序时iOS 10 GM发布错误“应用程序尝试访问隐私敏感数据而没有使用说明"由于 GoogleSignIn、AdMob [英] iOS 10 GM release error when submitting apps "app attempts to access privacy-sensitive data without a usage description" due to GoogleSignIn, AdMob

查看:17
本文介绍了提交应用程序时iOS 10 GM发布错误“应用程序尝试访问隐私敏感数据而没有使用说明"由于 GoogleSignIn、AdMob的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在 iOS 10 GM 版本中开始面临这个问题.我收到一封电子邮件,内容如下:

I just started facing this issue with the iOS 10 GM release. I received an email saying:

要处理您的交付,必须更正以下问题:

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

此应用尝试在没有使用说明的情况下访问隐私敏感数据.应用程序的 Info.plist 必须包含一个 NSCameraUsageDescription 键和一个字符串值,向用户解释应用程序如何使用这些数据.

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.

问候,

App Store 团队

The App Store team

我正在使用谷歌 GoogleSignIn.我没有使用 Firebase,但是在使用可可豆荚安装 GoogleSignIn 时,我在日志中看到它自动安装了 Firebase.

I am using google GoogleSignIn. I am not using Firebase, but when installing GoogleSignIn with cocoa pods, I saw in the logs it automatically installed Firebase.

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

Is there something we can do other than having to define these keys as my app has nothing to do with camera / photos etc and hence I don't want users to think we are using them.

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

I notice someone else has also faced this issue: https://forums.developer.apple.com/thread/62229

推荐答案

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

Here's a link to a complete workaround from Google: https://groups.google.com/d/msg/google-admob-ads-sdk/UmeVUDrcDaw/HIXR0kjUAgAJ

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

More info at that link, but TL;DR version is you have to add three items to your 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>

这篇关于提交应用程序时iOS 10 GM发布错误“应用程序尝试访问隐私敏感数据而没有使用说明"由于 GoogleSignIn、AdMob的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆