9

We got this email from no_reply@email.apple.com while uploading a build:

We identified one or more issues with a recent delivery for your app, "App Name" 1.0 (5.0). Please correct the following issues, then upload again.

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

Best regards,

The App Store Team

I've not used UIWebView in my project. I've updated all pods. I searched word 'UIWebView' in the workspace, but nothing was found. I also searched in the terminal using grep -r -f "UIWebView"., getting grep: UIWebView.: No such file or directory.

What should I do before uploading a new build?

14
  • Do what they said use WKWebView instead of UIWebView
    – Leo Dabus
    May 2, 2020 at 14:46
  • 3
    Yes, But I've never used UIWebView in my project. May 2, 2020 at 14:48
  • 1
    In this case reply to them
    – Leo Dabus
    May 2, 2020 at 14:50
  • Getting email from no_reply@email.apple.com. May 2, 2020 at 15:02
  • 1
    check your libraries you are using ....whether they use uiwebview
    – Chris
    May 2, 2020 at 15:43

2 Answers 2

22

I solved a similar problem as follows:

  1. Search in the workspace UIWebView and replace it with WKWebView

  2. Remove UIWebView in the storyboards and add "WKWebView" instead (do not forget about the connection with the code)

  3. In the terminal, in the project folder, enter the command:

    grep -r "UIWebView" .

    (don't forget the space and the dot at the end of command!) to find links to UIWebView in library files.

  4. Update the libraries with UIWebView, and if it does not help, then delete all libraries that have links to UIWebView. (Most libraries with UIWebView have new updates without UIWebView.)

2
  • 4
    step 3 for Binary files 👍 May 6, 2020 at 10:14
  • Property 'delegate' not found on object of type 'WKWebView', error after replacing UIWebView in React.xcodeproj Jul 19, 2020 at 17:42
0

In my case, I just went grep -r "UIWebView" ., changed UIWebview to WKWebview, and updated pods that used UIWebview to the newer versions I found.

FBSDK at version 5.5 worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.