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 has been archived by the owner on May 1, 2024. It is now read-only.
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.
The same package works fine with Xamarin.iOS app.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The same package works fine with Xamarin.iOS app.
The text was updated successfully, but these errors were encountered: