草庐IT

NSCameraUsageDescription

全部标签

c++ - Xcode for MacOS Mojave 中的 C++ 项目需要 NSCameraUsageDescription

我正在尝试在Xcode中运行OpenCV项目,似乎需要为C++应用程序NSCameraUsageDescription提供一个info.plist。2018-09-2800:03:15.181948+0800k_nearest_detector_v2[23505:710470][access]Thisapphascrashedbecauseitattemptedtoaccessprivacy-sensitivedatawithoutausagedescription.Theapp'sInfo.plistmustcontainanNSCameraUsageDescriptionkeywi

ios - 如何为 NSCameraUsageDescription 显示两个不同的应用程序使用消息

在我的应用程序中,相机在两个地方使用,所以我如何为“NSCameraUsageDescription”显示两条不同的消息。我已经创建了字符串文件来添加多种语言的消息,但相机访问的消息不应该相同。我找不到任何与在不同地方显示不同的相机访问消息相关的文档。 最佳答案 应用程序使用消息只会在您第一次使用您的应用程序时显示一次。它不会在您每次使用该应用程序时都被使用。在应用程序中,您可以在任意数量的地方使用它任意次数。您不能为所有不同的地方显示不同的消息。您必须创建一条通用消息,该消息仅用于获得用户的许可,即我们/我们的应用程序将访问您的私

ios - NSCameraUsageDescription 无效

我正在尝试打开用户的摄像头,但每当我尝试打开摄像头时,我都会收到此错误消息,“该应用程序已崩溃,因为它试图在没有使用说明的情况下访问隐私敏感数据。该应用程序的Info.plist必须包含一个NSCameraUsageDescription键和一个字符串值,向用户解释应用程序如何使用此数据。”我已经在info.plist文件中添加了Privacy-CameraUsageDescription以及诸如“我需要使用你的相机”之类的值,但我仍然收到此错误。这是我的info.plist源代码CFBundleDevelopmentRegionenCFBundleExecutable$(EXECUT

ios - 即使我使用 iOS 10、Xcode 8 在 info.plist 中添加了 NSCameraUsageDescription,应用程序也会崩溃

更新到Xcode8,我正在使用相机在我的应用程序上上传照片,应用程序崩溃并显示以下众所周知的消息:Thisapphascrashedbecauseitattemptedtoaccessprivacy-sensitivedatawithoutausagedescription.Theapp'sInfo.plistmustcontainanNSCameraUsageDescriptionkeywithastringvalueexplainingtotheuserhowtheappusesthisdata.在我的info.plist中添加了NSCameraUsageDescription,但

ios - NSCameraUsageDescription 在 Xcode 9 中不起作用

我正在使用Xcode9.2,我已经讨论了很多关于这个主题的话题,但仍然没有解决方案。我想使用iphone相机,所以我将NSCameraUsageDescription设置为并且应用程序仍然崩溃并显示此错误消息Thisapphascrashedbecauseitattemptedtoaccessprivacy-sensitivedatawithoutausagedescription.Theapp'sInfo.plistmustcontainanNSCameraUsageDescriptionkeywithastringvalueexplainingtotheuserhowtheappu

ios - Cordova Info.plist NSCameraUsageDescription 键丢失

经过最近的更改后,如果您的应用程序试图访问隐私敏感数据,Apple需要特定的key。所以我在我的config.xml中添加了NSCameraUsageDescription键,如下所示:Weareusingacamerato然后cordovabuildios--release--device生成的ipa显然在info.plist中没有正确的信息。感觉好像错过了什么。问题1:我需要在config.xml中添加什么来解决NSCameraUsageDescription问题?问题2:是否可以对该字符串使用本地化?谢谢! 最佳答案 新答案:

ios - Cordova Info.plist NSCameraUsageDescription 键丢失

经过最近的更改后,如果您的应用程序试图访问隐私敏感数据,Apple需要特定的key。所以我在我的config.xml中添加了NSCameraUsageDescription键,如下所示:Weareusingacamerato然后cordovabuildios--release--device生成的ipa显然在info.plist中没有正确的信息。感觉好像错过了什么。问题1:我需要在config.xml中添加什么来解决NSCameraUsageDescription问题?问题2:是否可以对该字符串使用本地化?谢谢! 最佳答案 新答案:

ios - ITMS-90683 : Missing Purpose String in Info. plist NSCameraUsageDescription

我在应用商店成功上传了我的应用。应用商店给我发这样一封电子邮件:AppStoreConnectDearDeveloper,Weidentifiedoneormoreissueswitharecentdeliveryforyourapp,"KuponaOnline"1.0.2(1.2).Pleasecorrectthefollowingissues,thenuploadagain.ITMS-90683:MissingPurposeStringinInfo.plist-Yourapp'scodereferencesoneormoreAPIsthataccesssensitiveuserda

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

将GPUImage添加到我的Xcode项目后,我的应用程序因缺少NSCameraUsageDescriptionInfo.plist键而被拒绝.MissingInfo.plistkey-Thisappattemptstoaccessprivacy-sensitivedatawithoutausagedescription.Theapp'sInfo.plistmustcontainanNSCameraUsageDescriptionkeywithastringvalueexplainingtotheuserhowtheappusesthisdata.我已经以几种不同的方式将key和描述添

ios - iOS 10.0 运行时崩溃中的 NSCameraUsageDescription?

使用iOS10.0最后一个测试版。我曾尝试在我的应用程序中使用相机扫描条形码,但由于此运行时错误而崩溃。Thisapphascrashedbecauseitattemptedtoaccessprivacy-sensitivedatawithoutausagedescription.Theapp'sInfo.plistmustcontainanNSCameraUsageDescriptionkeywithastringvalueexplainingtotheuserhowtheappusesthisdata.把这个key放到plist里,还是死机了? 最佳答案
12