gpt4 book ai didi

ios - Xcode:缺少 NSCameraUsageDescription 的 Info.plist 键

转载 作者:可可西里 更新时间:2023-11-01 03:36:01 26 4
gpt4 key购买 nike

GPUImage 添加到我的 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.

我已经以几种不同的方式将 key 和描述添加到我的 plist 中,超过 10 个构建都遇到了相同的拒绝错误。

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

Snap of my info.plist

当我在我的 plist 中明确定义了这个时,为什么我仍然被拒绝有什么想法吗?

最佳答案

您需要放置特定且适当的描述才能在您的应用程序中使用相机。我的一份申请因描述不当而被拒绝。因此,请尝试使用适当的描述,也许它会对您有所帮助。

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

关于ios - Xcode:缺少 NSCameraUsageDescription 的 Info.plist 键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44690075/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com