ITMS-90809: Deprecated API Usage

Hi

I have tried to submit an application to the app store connect, but it has always given the following error:


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

The problem is that I can't identify any reference to UIWebView in my solution.

I used xamarin to make the app and I have xamarin forms in the most updated version.

In the linker behavior I already have a link all.


Did you try the solution presented here (I think the important is the flag to add to the build):
https ://devblogs.microsoft. com/xamarin/uiwebview-deprecation-xamarin-forms/
Go and see it to have screenshots as well.

The solution only involves three steps: 
  1. Use the right versions of Xamarin.Forms and Xamarin.iOS.  Do you use Forms ≥ 4.5 and .Xamarin.iOS ≥ 13.10.0.17

  2. Add a flag to the build configuration. (is it what you did with link all ?). Did you add the Additional mtouch arguments defined in the screen shot (--optimize=experimental-xforms-product-type)?

  3. Build and submit your app to the App Store

On the Xamarin.Forms side we also had to make some changes to make all this work correctly. These new changes are part of Xamarin.Forms 4.5, including the pre-releases. Make sure that you are using the Forms 4.5 or newer NuGet package in your projects. 

You also need to make sure that you are using Xamarin.iOS 13.10.0.17. You can check this from Visual Studio. This version of Xamarin.iOS is included with Visual Studio for Mac 8.4.1 and Visual Studio 16.4.3 and up. 

With that in place, you can simply go to your iOS project, open the project properties and add this flag in the additional mtouch arguments field: --optimize=experimental-xforms-product-type this flag works together with the Linker Behavior set to SDK Only or All. If for any reason you see errors when setting the Linker Behavior to All, this is most likely a problem within the app code or a 3rd party library that is not linker safe. For more information on the linker, please refer to the docs.


If that works, don't forget to mark the correct answer, it may help others.

Hello. Thanks for the reply.

Yes I already tried these solutions.

The problem seems to be on the Apple Store Connect side. Because there is no reference to UIWebView and despite that when I submit the app I get the email saying I use it.
Do you use other packages ?
Did you do an option clean Build Folder ?

So, you added the Additional mtouch arguments ?
You should contact Microsoft (see the blog reference) to ask for more help.
ITMS-90809: Deprecated API Usage
 
 
Q