themronion / Maui.GoogleMaps

Map library for MAUI using Google maps API
https://www.nuget.org/packages/Onion.Maui.GoogleMaps/
MIT License
76 stars 33 forks source link

MauiGoogleMaps issues running on Physical IOS Devices #20

Closed ExtraCurrant closed 10 months ago

ExtraCurrant commented 10 months ago

VERSIONS

IDE

PLATFORMS

ACTUAL BEHAVIOR

// Write about of your problem
I built your Maui Google Maps Sample, Solution: "Xamarin.Forms.GoogleMaps" in Visual Stuido Comunity 2022 17.7.4. Works fine on Physical Android Devices, Emulated Android Devices, and on IOS Simulator Devices; however running on an IOS Physical Device (iPhone 11 IOSv16.5.1) I run into the Error Below, in Summary it's missing the TapContract.dll and Contracts.dll. If you have any advice on this issue it would be much appreciated!

Note: I have installed my own Google Maps Platform License Key.

2023-11-20 16:52:50.428 Xamarin.PreBuilt.iOS[2929:1056249] Could not resolve assembly Microsoft.VisualStudio.DesignTools.TapContract, Version=17.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/DCCDA259-547D-4A1F-92F6-88C9A6A89F38/Documents/MauiGoogleMapSample.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies.

2023-11-20 16:52:50.425 Xamarin.PreBuilt.iOS[2929:1056249] Could not resolve assembly Xamarin.HotReload.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/DCCDA259-547D-4A1F-92F6-88C9A6A89F38/Documents/MauiGoogleMapSample.content/Xamarin.HotReload.Contracts.dll' or one of its dependencies.

ACTUAL SCREENSHOTS/STACKTRACE

<img width="1219" alt="GoogleMapsError" src="https://github.com/themronion/Maui.GoogleMaps/assets/151581287/3d883ce1-c746-4d70-be88-e9ea7e9d7d66">

EXPECTED BEHAVIOR

Expected to run application on Physical IOS Devices when selecting the "Basic Map" Button. Button Highlights; however does not respond. This is true for all Buttons not just the "Basic Map" Button.

HOW TO REPRODUCE

Clone your Github in Windows VS Studio and Build and Deploy on a Physical IOS Device.
https://github.com/themronion/Maui.GoogleMaps.git
themronion commented 10 months ago

Hot reload sucks, please try on a real macbook