应用程序的 Info.plist 必须包含一个 NSMicrophoneUsageDescription 键和一个字符串值,向用户解释应用程序如何使用这些数据 [英] The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data

查看:27
本文介绍了应用程序的 Info.plist 必须包含一个 NSMicrophoneUsageDescription 键和一个字符串值,向用户解释应用程序如何使用这些数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建被拒绝应用程序的 Info.plist 必须包含一个 NSMicrophoneUsageDescription 键和一个字符串值,向用户解释应用程序如何使用这些数据.

Got a build rejection The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.

该应用不使用麦克风.或者我认为是这样.

The app does not use microphone. Or so I think.

如何追踪使用麦克风的位置?

How do I track down where mic is used?

UPD23112016:鉴于懒惰的答案正在被投票,我已向苹果提交了一项新功能请求以关闭此安全漏洞.

UPD23112016: given that the lazy answer is being upvoted I've filed a new feature request with apple to close this security hole.

UPD05042017:一旦你代理麦克风访问仍然很麻烦通过一些半成品 NSMicrophoneUsageDescription 进入一些 3rd 方框架如果用户同意,您可以零控制何时何地使用它允许麦克风访问.各位,请尽职尽责,精益求精NSMicrophoneUsageDescription 反映了麦克风当使用被第 3 方仅二进制框架掩盖时,由完全不受您控制的代码使用.谢谢.

UPD05042017: it is still bothersome that once you proxy mic access into some 3rd party framework via some half baked NSMicrophoneUsageDescription you have zero control on where and when it can be used if user agrees to allow mic access. Folks, please do due diligence and craft precise NSMicrophoneUsageDescription that reflects on the fact that the mic is used by the code that's completely outside of your control when the usage is obscured by a 3rd party binary-only framework. Thanks.

UPD2021:Apple 尽其所能对共享的审计跟踪资源(如麦克风)在最新 iOS 中的使用情况,以便用户在实际访问发生时进行一些追索检查.不错的尝试,但有多少人会进行尽职调查?

UPD2021: Apple did what they could with audit trail for shared resource (such as mic) usage in the latest iOS so the users have some recourse checking when actual access has happened. Nice try, but how many are gonna do the due diligence though?

推荐答案

只需添加 NSMicrophoneUsageDescription key &在价值中添加您的应用程序使用麦克风的理由.这是 iOS 10 中的最新要求.

Just add NSMicrophoneUsageDescription key & in value add the justification that why your app is using Microphone. This is the latest requirement in iOS 10.

这篇关于应用程序的 Info.plist 必须包含一个 NSMicrophoneUsageDescription 键和一个字符串值,向用户解释应用程序如何使用这些数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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