问题描述
我正在尝试为 IOS 构建,但在上传到 ITuneconnect 后我收到了这条消息.ITMS-90809:不推荐使用的 API 使用 - 不再接受使用 UIWebView 的新应用程序.相反,使用 WKWebView 来提高安全性和可靠性.了解更多 (https://developer.apple.com/documentation/uikit/uiwebview).
I am trying to build for IOS but after uploading to ITuneconnect I got this message.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).
我知道这个问题已经存在.我使用此命令搜索了我的项目
I know this problem exists already. I searched my Project using this command
grep -r "UIWebView".
grep -r "UIWebView".
我有一场比赛
二进制文件 ./GoogleMobileAds.framework/GoogleMobileAds 匹配
Binary file ./GoogleMobileAds.framework/GoogleMobileAds matches
请告诉我如何解决这个问题.
Please let me know how can I solve this problem.
那么谁有解决办法,请帮帮我.
Anyone have a solution then, please help me.
谢谢.
推荐答案
好的!
所以安装您的 Google Ads pod 并放置此行 pod 'Google-Mobile-Ads-SDK'
So Install your Google Ads pod with put this line pod 'Google-Mobile-Ads-SDK'
不要担心 grep -r "UIWebView";.
它将在 Google Ads 中显示 UIWebView,
And don't worry about grep -r "UIWebView" .
It will show UIWebView in Google Ads,
但它不会阻止你构建你的应用程序并提交到 TestFlight/App Store,
But It will not stop you from Build your app and submit to TestFlight/App Store,
因为 Google 已经解决了这个问题.
Because Google has fixed this.
要点:
- 清除你的派生数据
(/Users/yourMacName/Library/Developer/Xcode/DerivedData/)
- 清理Xcode项目
(cmd+shift+k)
这篇关于UIWebView 仍然存在于 Google 移动广告中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!