[英]App store Missing Purpose String in Info.plist error
I use RN 0.59.10, I have just received this error, when I have uploaded previous versions last week - I didn't get this error.我使用 RN 0.59.10,我刚刚收到这个错误,上周我上传了以前的版本 - 我没有收到这个错误。 I don't use location details in my app.我不在我的应用程序中使用位置详细信息。
Any ideas why this is happening?任何想法为什么会发生这种情况?
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. ITMS-90683:Info.plist 中缺少目的字符串 - 您的应用程序代码引用了一个或多个访问敏感用户数据的 API。 The app's Info.plist file should contain a NSLocationAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.应用程序的 Info.plist 文件应包含一个 NSLocationAlwaysUsageDescription 键和一个面向用户的目的字符串,清楚而完整地解释您的应用程序需要数据的原因。 Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string.从 Spring 2019 开始,所有提交到 App Store 并访问用户数据的应用都必须包含目的字符串。 If you're using external libraries or SDKs, they may reference APIs that require a purpose string.如果您使用的是外部库或 SDK,它们可能会引用需要目的字符串的 API。 While your app might not use these APIs, a purpose string is still required.虽然您的应用可能不使用这些 API,但仍需要使用目的字符串。 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.您可以联系库的开发人员或 SDK 并请求他们发布不包含 API 的代码版本。 Learn more ( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy ).了解更多信息( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy )。
ITMS-90683: Missing Purpose String in Info.plist - Your app's code references one or more APIs that access sensitive user data. ITMS-90683:Info.plist 中缺少目的字符串 - 您的应用程序代码引用了一个或多个访问敏感用户数据的 API。 The app's Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data.应用程序的 Info.plist 文件应包含一个 NSLocationWhenInUseUsageDescription 键和一个面向用户的目的字符串,清楚而完整地解释您的应用程序需要数据的原因。 Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string.从 Spring 2019 开始,所有提交到 App Store 并访问用户数据的应用都必须包含目的字符串。 If you're using external libraries or SDKs, they may reference APIs that require a purpose string.如果您使用的是外部库或 SDK,它们可能会引用需要目的字符串的 API。 While your app might not use these APIs, a purpose string is still required.虽然您的应用可能不使用这些 API,但仍需要使用目的字符串。 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.您可以联系库的开发人员或 SDK 并请求他们发布不包含 API 的代码版本。 Learn more ( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy ).了解更多信息( https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy )。
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs. ITMS-90809:已弃用 API 用法 - Apple 将停止接受使用 UIWebView API 的应用程序的提交。 See https://developer.apple.com/documentation/uikit/uiwebview for more information.有关详细信息,请参阅https://developer.apple.com/documentation/uikit/uiwebview 。
You need to give proper message for asking location permission.您需要提供适当的消息以询问位置许可。 why you need location or why its required.为什么需要位置或为什么需要位置。
Here its example.这里是它的例子。 you can enter this message in your info.plist
and change as per your requirements.您可以在info.plist
中输入此消息并根据您的要求进行更改。
Example Message - App would like to use your current location to display it on the app, also for directions and estimation of your travel times.示例消息 -应用程序希望使用您当前的位置在应用程序上显示它,也用于方向和估计您的旅行时间。 It is secure and private.它是安全和私密的。
For last one message regarding your UIWebView
, it's says that UIWebView
is deprecated and you have to stop using and used WKWebView
.对于关于您的UIWebView
的最后一条消息,它说UIWebView
已被弃用,您必须停止使用和使用WKWebView
。 If you have not used in your application then check in third-party libraries or.pod files.如果您还没有在您的应用程序中使用过,那么请检查第三方库或 .pod 文件。 Somewhere its used so apple has given message.在某处使用它,所以苹果已经给出了信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.