themronion / Maui.GoogleMaps

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

Unable to use for ios simulator: building for iOS Simulator, but linking in object file built for iOS #48

Closed GreenleafDk closed 5 months ago

GreenleafDk commented 5 months ago

VERSIONS

IDE

PLATFORMS

ACTUAL BEHAVIOR

Emulator for android works, but attempting to run on ios simulator fails with building for iOS Simulator, but linking in object file built for iOS

HOW TO REPRODUCE

Load sample project from repo and launch on ios simulator

plppp2001 commented 5 months ago

You have to run the simulator on the actual mac computer. Do not use hot reload, it doesn't work with map.

GreenleafDk commented 5 months ago

Thanks for responding. I am running the simulator on the mac, which is the only way to run it. Visual studio connects to physical mac, simulator is selected and then project is being run. In building before run, it fails. Seemingly because of the processor architecture used for the package, which is incompatible with simulator...? I may be confused, as I have never experienced this kind of issue before.

GreenleafDk commented 5 months ago

I should perhaps ask a side question. Has anyone else here confirmed run the demo project on an iOS 17.5 simulator? The repro step seem very easy and clear in that regard.

themronion commented 5 months ago

Duplicate. https://github.com/themronion/Maui.GoogleMaps/issues/41