簡體   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