You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on May 1, 2024. It is now read-only.
Google Maps nuget doesn't include GoogleMap.bundle resources to net6.0-ios project #637
Create sample.Net iOS application (do not use Xamarin).
Add package reference to Xamarin.Google.iOS.Maps nuget.
Set API key by calling Google.Maps.MapServices.ProvideApiKey
Create Google.Maps.MapView and add it as view controller subview in app delegate.
Expected: Google MapView will show.
Actual: App crashes complaining that GoogleMaps.bundle is missing:
NSException {Google Maps SDK for iOS requires GoogleMaps.bundle to be part of your target under 'Copy Bundle Resources'}
There's also related warning in console:
WARNING: Unable to find and load 'GoogleMaps.bundle' for Google Maps SDK for iOS. This may be a sign that you've forgotten to include a resources bundle in your 'Copy Bundle Resources' build phase. As this bundle contains important resources, you may encounter missing images, translations and other incorrect behavior.
Problem seems to be in Xamarin.Google.iOS.Maps.targets which seems to skip "_GMpsDownloadedItems" target.
Activity