Apple will stop accepting submissions of apps that use UIWebView APIs

Andrew Fenner
Aug 31, 2019 · 2 min read

This article is for anybody who is deploying a React Native App with Xcode and has received the following:

Dear Developer,

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.

Best regards,

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.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade