繁体   English   中英

ITMS-90683:NSCameraUsageDescription键的Info.plist中缺少目的字符串

[英]ITMS-90683: Missing Purpose String in Info.plist for NSCameraUsageDescription key

我正在使用XCode 10.3,现在我已经完成了所有开发过程,这是我在IO中的第一个应用程序。 现在,我已经完成了将应用程序上传到应用程序商店的所有过程。

 After I upload an application for review I am getting some error developers team i.e 

 First one is  ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCameraUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string.

另一个是ITMS-90809:不推荐使用的API-Apple将停止接受使用UIWebView API的应用程序的提交。 有关更多信息,请参见https://developer.apple.com/documentation/uikit/uiwebview

对于UIWEbView,我没有在应用程序内部使用任何Webview,而且我也在外部库中进行了搜索。

在这里,我奋斗了3个多小时,让我知道如何实现这一目标。 提前致谢 在此处输入图片说明

1.第一个是因为您必须在应用程序中使用Camera服务,因此需要指定为什么需要Camera。 转到您的Info.plist文件并打开Info.plist作为源代码。 在该文件中添加以下代码。

    <key>NSCameraUsageDescription</key>
    <string>Reason why you want camera permission.</string>

  1. 第二个错误是因为您不赞成在应用程序中使用UIWebview。 您应该将其替换为WKWebView。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM