应用程序因缺少使用说明而被拒绝(Xcode8) [英] App rejected due to missing usage descriptions (Xcode8)

查看:152
本文介绍了应用程序因缺少使用说明而被拒绝(Xcode8)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我今天收到这封邮件说我的应用程序的最新版本被iTunes Connect拒绝了,原因是一些用户说明丢失了。确切地说:

So I got this mail today saying that the latest build of my app was rejected by iTunes Connect due to some missing usage descriptions. To be exact:


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

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

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

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

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

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

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

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

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

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

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

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

一旦这些问题得到纠正,您就可以重新更正已更正的二进制文件。

Once these issues have been corrected, you can then redeliver the corrected binary.

我发现这些已成为iOS 10的强制要求,但唯一的问题是我的应用不是请求访问这些中的任何一个的权限..我认为如果你真的请求了权限,那么描述只是强制性的吗?

I figured out that these have become mandatory with iOS 10, but the only problem is that my app is not requesting permission to access any of these.. I thought the description only was mandatory if you actually requested a permission?

是否因为我的某个依赖项(Cocoapods)可能包含一些代码请求这些权限?或者即使我从未要求查看用户日历,联系人等,这些描述是否必须?

Is it because one of my dependencies (Cocoapods) might contain some code to request these permissions? Or are these descriptions mandatory even if I never request to see the users calendar, contacts, etc?

推荐答案

描述是强制性的您或您链接的任何框架试图访问的任何内容。如果未提供使用说明,则在尝试访问内容时会生成错误,因此如果您收到这些错误,您的应用必须请求它们。您应该发现为什么您的应用或其框架需要这些,并在您的应用的info.plist中添加适当的使用说明。

The descriptions are mandatory for any content you or any frameworks you link against attempt to access. The errors are generated upon an attempt to access the content if a usage description was not supplied, so if you're getting those errors your app must be requesting them. You should discover why your app or its frameworks require these and add appropriate usage descriptions to your app's info.plist.

或者更理想的情况是,如果您不需要访问,看看是否有办法不要求它(或使用不必要的框架)。

Or more ideally, if you don't need access, see if there's a way to not request it (or use frameworks that do unnecessarily).

这篇关于应用程序因缺少使用说明而被拒绝(Xcode8)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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