Apple will stop accepting submissions of apps that use UIWebView APIs
This article is for anybody who is deploying a React Native App with Xcode and has received the following:
We identified one or more issues with a recent delivery for your app, “NumberShapes” 2.8 (1). Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage — Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.
The App Store Team
The following is a simple solution that worked for me, but might not work for everyone. If you are actually using WebViews in your app then you’ll probably need to search elsewhere.
However, if you received this message even though none of your app uses UIWebView — keep reading.
First, search your Xcode project for “UIWebView”
You should see this:
Right click and choose “Reveal In Project Navigator”
And it will take you here:
Don’t delete RCTWKWebview.h or RCTWEKWebView.m — they don’t use UIWebView.
Instead, scroll down and delete the following four files:
RCTWebView.h/m and RCTWebViewManager.h/m because they depend on RCTWebView.
Now re-archive your project and submit.
Did it work? Let me know in the comments below.