-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] ITMS-90809: Deprecated API Usage (iOS) still exists #10739
Comments
There is quite a bit written about this already, did you happen to see that? It basically comes down to:
In regard to the NuGets, you can go into your ipa file (which is basically just a zip) with a Terminal window so do: cd YOURAPP.ipa
grep -r UIWebView . Note the dot (.) at the end. This should give you a list of results where If all this fails and you are sure that you are not using UIWebView and none of your (external) code depends on it you can force the removal of the type as described here: https://docs.microsoft.com/en-us/xamarin/ios/release-notes/13/13.16#special-cases Also see: #9823 and #7323 and the discussions under the blogpost: https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/ All cases that have been reported we have been able to solve, so I'm quite sure the functionality works as intended, it's just a couple of pieces that have to fit together. Sorry about that. |
Hi, |
Make sure that you indeed have all the latest versions on all of your projects (both shared library and iOS), delete your obj/bin folders from the file system and do a clean and rebuild to make sure no caching is happening. |
That did not solve the issue, anything else? We are stuck with this for a very long time now
|
I'm really sorry but I don't know what else to tell you. We are very sure that with the latest version the reference to MaterialComponents has been updated and I have had multiple reports confirming that has fixed the issue for people concerning the Material part of things. If that is still showing up with with your grep command, then there has to be something cached somewhere that still ends up in your build. |
@jfversluis Is there some other cache beside the packages folder and the obj/bin folders that could be use on a Rebuild? Because after completly removing Xamarin.Forms and readding the NuGet package this error was gone. The terminal command helped a lot to find the cause of the issue. It always had Xamarin.iOS with this part in it's bundle. |
@Sebastian1989101 if I understand correctly it works for you now? I know there is some kind of iOS archive cache somewhere buried deep. But normally that shouldn't be the issue. If heard once that someone resolved the caching issue by disabling incremental builds in their iOS project options. |
@jfversluis Yes it works now. I don't know what it was but after the reinstall of Forms it was gone, so I guess it was some sort of cache going on. Should I close this issue? Because @pupauoga seems to have also a related issue. |
@pupauoga if you still can't figure it out please find my email on my github profile page and reach out directly. Closing this one for now. We have a couple of issues about this going on and trying to keep things as centralized as possible :) Thanks! |
hi @jfversluis |
Tested with Forms 4.6.0.726 and 4.6.0.772. And yes, I have added the "--optimize=experimental-xforms-product-type" mtouch argument. Or do I have to add this to my watchOS, watchOS Extension and Today Extension project as well?? This is my current VS for Mac info output:
The text was updated successfully, but these errors were encountered: