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.
After updating the library from 3.9.0 to 6.0.1, the app crashes immediately while calling Xamarin.FormsGoogleMaps.Init(string, PlatformConfig) with the following message:
System.ExecutionEngineException: Attempting to JIT compile method 'void Xamarin.FormsGoogleMaps:Init(string,Xamarin.Forms.GoogleMaps.iOS.PlatformConfig)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
Researching in Google, they say I've to enable "Mono interpreter" in iOS Build, but that creates another exception at the same line:
System.MissingMethodException: Method not found: bool Google.Maps.MapServices.ProvideAPIKey(string)
On both cases there's no useful information at the stack trace, as it ends on my code without going any further.
Some extra info:
OS Version with problems: At least with iOS 15
Device: iPhone 8 with iOS 15.3.1
Third parties libraries: (there're a lot, so I'll only put the most remarkable)
a. Xamarin.Forms.GoogleMaps 3.3.0
b. Plugin.CloudFirestore 4.1.0
c. Plugin.FirebaseAuth 4.1.0
d. Xamarin.Forms 5.0.0.2337
e. Xamarin.Essentials 1.7.1
Xcode version: 13.2.1
Visual Studio version: 8.10.20 (for Mac)
Workaround: Downgrading Xamarin.Google.iOS.Maps to 3.9.0
If you need any more info, please let me know. For now I have to downgrade the package back to 3.9.0.
The text was updated successfully, but these errors were encountered:
After updating the library from 3.9.0 to 6.0.1, the app crashes immediately while calling
Xamarin.FormsGoogleMaps.Init(string, PlatformConfig)
with the following message:That by using the following code:
Researching in Google, they say I've to enable "Mono interpreter" in iOS Build, but that creates another exception at the same line:
On both cases there's no useful information at the stack trace, as it ends on my code without going any further.
Some extra info:
a. Xamarin.Forms.GoogleMaps 3.3.0
b. Plugin.CloudFirestore 4.1.0
c. Plugin.FirebaseAuth 4.1.0
d. Xamarin.Forms 5.0.0.2337
e. Xamarin.Essentials 1.7.1
Xamarin.Google.iOS.Maps
to 3.9.0If you need any more info, please let me know. For now I have to downgrade the package back to 3.9.0.
The text was updated successfully, but these errors were encountered: