xamarin.forms - Xamarin形式:ITMS-90809:不推荐使用的API,但是我的项目中没有webview

标签 xamarin.forms webview app-store

昨天我将一个新应用推送到AppStore,但是由于以下错误而被拒绝。

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).


就我所知,此问题通常是由于使用Webview而发生的。我的项目中有一个Webview,所以我决定将其删除(因为该部分当前未在项目中使用)。删除Webview后,我再次将应用程序推送到AppStore,但是我的应用程序再次被拒绝,并出现相同的错误。之后,我进行清理,重建和删除bin,obj文件夹。删除Webview后,我的应用被Appstore拒绝了2次。
请参见以下屏幕截图:整个解决方案均不提供Webviews
enter image description here
还有其他原因导致此错误吗?

最佳答案

这似乎是iOS上Xamarin.forms的现有问题。

  • 确保版本Xamarin.Forms为4.6或更高版本,并且版本Xamarin.iOS为13.10.0.17或更高版本。
  • 将链接器行为更改为“仅SDK”或“全部链接”,然后添加
    其他参数:--optimize=experimental-xforms-product-type请检查所有这些是否已在版本下设置
    配置和iPhone平台。

  • 有关更多详细信息,请参阅
    https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/

    关于xamarin.forms - Xamarin形式:ITMS-90809:不推荐使用的API,但是我的项目中没有webview,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62888473/

    相关文章:

    ios - 对于使用 HTTPS 的 iOS 应用程序,我应该使用哪个 ECCN?

    javascript - 将对应用内购买的支持构建到 react native 代码中

    google-play - 在 Google Play 中创建订阅群组?

    xamarin - 在 Xamarin.Forms 中的 OnStart 期间设置 MainPage = NavigationPage 在 Android 中显示空白屏幕

    c# - 在 xamarin 表单中选择 ListView 项时如何打开另一个页面?

    c# - X.F WP8.1 在模块 System.Windows.dll 中找不到类型 System.Windows.Controls.Control

    android - WebView 被切断

    android - 我如何添加自定义 header 以在 webview 上发布请求

    sqlite - Xamarin UWP 和 Azure 移动服务离线 SQLite 同步 - 使用 .Net Native Toolchain 在 Release模式下构建时出现问题

    android - 如何使用 Android Webview 在后台播放 YouTube?