Xcode 10.2 -Visual studio 2019 – XamarinForms -TKCustomMaps crash


I am facing a particular crash after I updated visual studio 2019, Xcode 10.2. and iPhone 12.2
when I leave the map page is crashing.
1.it opens fine the first time
2.crashes during the next time I open the same page
3. the crash will disappear if I comment the XAML for the map
Xamarin forms == 3.0.0…2510
TKCustomMaps == 2.0.1
NETStandarLibrary ==2.0.3
XCode == 10.2

                          <tk:TKCustomMap x:Name="map" 
                            MapRegion="{Binding Region}"
                            Pins="{Binding Pins}"/> 

I have tried almost everything –
I deleted bin-object folders- restart and try to downgrade from visual studio 2019 to 2017, but I can’t figure out why. The version I have in production is working just fine on my phone with the new installed software 12.2

 at UIKit.UIGestureRecognizer+<>c__DisplayClass4_0.<OnDispose>b__0 () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/ n  at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/ n  at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)n  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/ n  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/ n  at app.iOS.Application.Main (System.String[] args) [0x00000] in /Users/btest/mb/app/iOS/Main.cs:17 "

Source: Ios

Categorised as ios, maps, visual-studio, xamarin.forms, xcode


Leave a Reply

Your email address will not be published. Required fields are marked *

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us