4
votes

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

I got one match

Binary file ./GoogleMobileAds.framework/GoogleMobileAds matches

Please let me know how can I solve this problem.

Anyone have a solution then, please help me.

Thank you.

1
Whats the version of Google-Mobile-Ads-SDK ?iDeveloper
I tried version 7.61.0 and latest version 7.9.1 but both used UIWebview.shraddha k vaishanani
Please show me, How are you installing pod for Google Ads.iDeveloper
1.In pod file i define pod 'Google-Mobile-Ads-SDK' then install pod using 'pod install' command that time install below pods Analyzing dependencies Downloading dependencies Installing Google-Mobile-Ads-SDK (7.61.0) Installing GoogleAppMeasurement (6.6.1) Installing GoogleUtilities (6.6.0) Installing PromisesObjC (1.2.9) Installing nanopb (1.30905.0) 2.In pod file i define pod 'Google-Mobile-Ads-SDK','~>7.9.1' then install Pod using 'pod install' command.shraddha k vaishanani

1 Answers

5
votes

Alright!

So Install your Google Ads pod with put this line pod 'Google-Mobile-Ads-SDK'

And don't worry about grep -r "UIWebView" . It will show UIWebView in Google Ads,

But It will not stop you from Build your app and submit to TestFlight/App Store,

Because Google has fixed this.

Points:

  • Clear your derived data (/Users/yourMacName/Library/Developer/Xcode/DerivedData/)
  • Clean Xcode project (cmd+shift+k)