Open john-dalsgaard opened 2 years ago
Not sure if related, but I have a similar issue with Xamarin.Google.iOS.Maps v6.0.1. The only workaround for me is to install Xamarin.Google.iOS.Maps
v3.9.0 aside of Xamarin.Forms.GoogleMaps
v3.3.0
Interesting. I tried to upgrade Xamarin.Google.iOS.Maps from v.3.9 to 6.0.1 - but then it cannot build...
This is my map code:
<maps:Map InitialCameraUpdate="{Binding InitialCameraUpdate,Mode=OneWay}"
MapType="{Binding MyMapType, Mode=OneTime}">
<maps:Map.Behaviors>
<bindings:BindingPinsBehavior Value="{Binding Pins}"/>
<bindings:AnimateCameraBehavior Request="{Binding AnimateCameraRequest}"/>
<bindings:InfoWindowClickedToCommandBehavior Command="{Binding PinClickedCommand}" />
</maps:Map.Behaviors>
</maps:Map>
If I remove the InitialCameraUpdate
then it doesn't crash - but obviously place the map in a wrong place..
I am experiencing the same issue whereby the app crashes when the map is shown on iOS. It happens on the simulator and on a physical device.
I am using Xamarin.Forms.GoogleMaps 3.3.0 and Xamarin.Google.IOS.Maps 3.9.0 on an iPhone 13 running iOS 15.5. I have tried updating to version 6 but that stops the project from building.
I am running the solution from my MacBook Pro using Visual Studio for mac:
I am not currently able to publish my app. Please help! Thanks. Everything was working until recent updates, no code has changed.
@myonlinegolfclub Try my nuget - posted here https://github.com/amay077/Xamarin.Forms.GoogleMaps/issues/784#issuecomment-1040305197, or try my MAUI version, i have a feeling it will work with XF as well https://www.nuget.org/packages/Onion.Maui.GoogleMaps/5.0.0-alpha1
Not sure if it is after the latest Xcode updates - but I have a suspicion...
This happens in the iOS simulator. Just commenting out the map in the XML and it runs without crashing.
It just crashes with something like this:
Anyone else seeing this - and have ideas to solve it?
I have not made any changes to this code - so it is something "around" the project i.e. development tools