I Have followed the blog https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/ to remove the UIWebView dependency in my project.
According to the document
1)xamarin.forms version is 4.6 2)xamarin.ios version is 13.20 3)I added the command in mtouch Arguments and linker is link All
I still got warning while upoading build to test flight
I then followed this document https://learn.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16#help-with-uiwebview-deprecation where we can find out whether UIWebView is still being used in our application.I am getting below in the build output.
MTOUCH : warning MT1502: One or more reference(s) to type 'UIKit.UIWebView' already exists inside 'Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' before linking
I am not sure why there is reference in Xamarin.Forms.Platform.iOS as xamarin package is updated to 4.6 as per the blog.
Can anyone please help me to get rid of this warning?
Thank you all for your suggestions. Below is what worked for me.
Follow the 3 steps mentioned in https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/
Run grep -r UIWebview .
on repository level. It will show the list of references in .sln and third party packages
Remove or update third party libraries. Igore bin and obj folders
For Me, I had to
1.Remove deprecated scanbot.xamarin.ios SDK and add scanbot.xamarin pkg
2.Remove hockey app SDK as it was deprecated and didn’t have any updates
3.Remove googleanalytics SDK as it wasn’t being used in the project