Search code examples
xamarinxamarin.formsxamarin.iosuiwebviewwkwebview

Using xamarin forms, still getting warning for UIWebView deprecation in app store "ITMS-90809: Deprecated API Usage"


I have removed all UIWebView references and using WKWebView now. I am hoping any one will help me as I am stuck.

The apple depreciation warning still persists even after following the above steps in https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/.

My nugets are updated as per the article. And removed "obj" and "bin" folders from ios project to just not use previous references.

I have following details:

MacMini OS: macOS-10.15 (Catalina) Visual Studio: 8.6.2 Xamarin.iOS: 13.18.2.1 XCode: 11.5 Xamarin.Forms: 4.8.0.1269 Xamarin.Forms.Maps: 4.8.0.1269 Xamarin.Essentials: 4.5.3.2 Xamarin.Auth: 1.7.0

But it still giving me

UIKit.UIWebView reference in following dll

One or more reference(s) to type ‘UIKit.UIWebView’ still exists inside ‘Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

One or more reference(s) to type ‘UIKit.UIWebView’ still exists inside ‘Xamarin.Auth, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

One or more reference(s) to type UIKit.UIWebView still exists inside ‘Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

One or more reference(s) to type ‘UIKit.UIWebView’ still exists inside ‘Xamarin.Auth, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null

At this stage, I cannot figure out what I am missing


Solution

  • Hi I fixed my issue by removing Xamarin Auth package. And also set mTouch argument to AppStore/iPhone iOS build configuration. It is working now. I didn't get any warning message from apple.