提交应用程序时,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

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

问题描述

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

lockquote

要处理您的送货,必须更正以下问题:



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

完成所需的更正后,您可以然后重新发送更正后的二进制文件。

问候,

App Store团队

我使用的是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>广告希望创建日历事件。< / string>
< key> NSPhotoLibrary使用说明< / key>
< string>广告要存储照片。< / string>
< key> NSBluetoothPeripheralUsageDescription< / key>
< string>广告希望使用蓝牙。< / string>


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:

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

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.

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

解决方案

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

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天全站免登陆