UIWebView 仍然存在于 Google 个移动广告中

UIWebView still exist in Google Mobile Ads

我正在尝试为 IOS 构建,但在上传到 ITuneconnect 后我收到了这条消息。 ITMS-90809:弃用 API 用法 - 不再接受使用 UIWebView 的新应用程序。相反,使用 WKWebView 来提高安全性和可靠性。了解更多 (https://developer.apple.com/documentation/uikit/uiwebview)。

我知道这个问题已经存在了。我使用此命令搜索了我的项目

grep -r "UIWebView".

我有一场比赛

二进制文件 ./GoogleMobileAds.framework/GoogleMobileAds 匹配

请告诉我如何解决这个问题。

那位有解决办法的请帮帮我

谢谢。

好的!

因此安装您的 Google 广告连播连载此行 连播连载 'Google-Mobile-Ads-SDK'

不用担心 grep -r "UIWebView" . 它会在 Google 广告中显示 UIWebView,

但这不会阻止您构建您的应用程序并提交到 TestFlight/App 商店,

因为 Google 已经解决了这个问题。

积分:

  • 清除派生数据(/Users/yourMacName/Library/Developer/Xcode/DerivedData/)
  • 清理 Xcode 项目 (cmd+shift+k)