加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – Xcode:缺少NSCameraUsageDescription的Info.plist密钥

发布时间:2020-12-14 18:59:08 所属栏目:百科 来源:网络整理
导读:将GPU Image添加到我的 Xcode项目后,我的应用程序因缺少NSCameraUsageDescription的Info.plist密钥而被拒绝. Missing Info.plist key – This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must cont
将GPU Image添加到我的 Xcode项目后,我的应用程序因缺少NSCameraUsageDescription的Info.plist密钥而被拒绝.

Missing Info.plist key – 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.

我已经以几种不同的方式向我的plist添加了键和描述,并且超过10个构建都得到了相同的拒绝错误.

这是我的info.plist,底部是Camera Usage键.

Snap of my info.plist

当我清楚地在我的plist中定义这个时,我仍然会被拒绝的任何想法?

解决方法

您需要在应用程序中使用特定且正确的描述才能使用Camera.由于描述不当,我的申请被拒绝了.所以尝试正确的描述,也许它会帮助你.

<key>Privacy - Camera Usage Description</key>
<string>APPNAME requires access to your phone’s camera.</string>

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读