xcode ITMS-90683:Info.plist NSCameraUsageDescription 中缺少目的字符串
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/56464141/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
ITMS-90683: Missing Purpose String in Info.plist NSCameraUsageDescription
提问by nativescript
I upload my app in app store successfully.
我在应用商店成功上传了我的应用。
App store send me an email like this:
应用商店给我发一封这样的电子邮件:
App Store Connect
Dear Developer,
We identified one or more issues with a recent delivery for your app, "Kupona Online" 1.0.2 (1.2). Please correct the following issues, then upload again.
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. If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
Best regards,
The App Store Team
应用商店连接
亲爱的开发者,
我们发现了您的应用程序“Kupona Online”1.0.2 (1.2) 最近交付的一个或多个问题。请更正以下问题,然后重新上传。
ITMS-90683:Info.plist 中缺少目的字符串 - 您的应用程序代码引用了一个或多个访问敏感用户数据的 API。应用程序的 Info.plist 文件应该包含一个 NSCameraUsageDescription 键和一个面向用户的目的字符串,清楚完整地解释你的应用程序为什么需要数据。从 2019 年春季开始,所有提交到 App Store 的访问用户数据的应用程序都需要包含一个用途字符串。如果您使用外部库或 SDK,它们可能会引用需要用途字符串的 API。虽然您的应用程序可能不使用这些 API,但仍然需要一个用途字符串。您可以联系库或 SDK 的开发人员,并要求他们发布不包含 API 的代码版本。了解更多 ( https://developer.apple.)。
此致,
应用商店团队
To fix this error I put in Info.plist in Xcode 10.2.1 like in this:
为了修复这个错误,我在 Xcode 10.2.1 中放入了 Info.plist,如下所示:
but nothing happens. App store send me always this error.
但什么也没有发生。App Store 总是向我发送此错误。
How do I fix this error?
我该如何解决这个错误?