ITMS-90809:不推荐使用的API用法-不再接受使用UIWebView的现有应用程序 [英] ITMS-90809: Deprecated API Usage - existing app that use UIWebView are no longer accepted

查看:1895
本文介绍了ITMS-90809:不推荐使用的API用法-不再接受使用UIWebView的现有应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ITMS-90809:不推荐使用的API-自2020年4月30日起,Apple将不再接受使用UIWebView的新应用程序的提交,以及自2020年12月起不再使用UIWebView的应用程序提交.相反,请使用WKWebView来提高安全性和可靠性.

ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability.

我正在尝试更新现有的应用程序,而不是新的应用程序.我仍然无法上传该应用程序.我通过电子邮件收到此错误:

I am trying to update an existing app, not a new app. Still I am not able to upload the app. I got this error via email:

We identified one or more issues with a recent delivery for your app, "App Name" 20202.421.1 (6). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).


Apple是否更改了政策或其他措施?还是我需要更改UIWebView?

推荐答案

是的,Apple确实更改了政策 您在使用离子吗?如果是这样,请安装以下这些: 一世. cordova插件添加cordova-plugin-ionic-webview @ latest ii. npm安装@ ionic-native/ionic-webview

Yes, Apple did change the policies Are you using ionic? if so, install these: i. cordova plugin add cordova-plugin-ionic-webview@latest ii. npm install @ionic-native/ionic-webview

,然后将其添加到ios平台下的config.xml中:

and then add this to your config.xml under ios platform:

<preference name="WKWebViewOnly" value="true" />
<feature name="CDVWKWebViewEngine">`
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

运行-ionic cordova prepare ios以反映更改 然后运行离子科尔多瓦建立ios

run - ionic cordova prepare ios to reflect changes then run ionic cordova build ios

PS:请确保您仅安装了一个Webview插件.此插件或"cordova-webviewengine".但是上述方法对我有效,我的应用现在已在应用商店中

PS: Make sure you have only one webview plugin installed.. either this or the 'cordova-webviewengine'. But the above method worked for me and my app is in app store now

这篇关于ITMS-90809:不推荐使用的API用法-不再接受使用UIWebView的现有应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆