GoogleMaps.bundle reference error in versions after 8.3.0
When running, GoogleMapsResources.bundle is created instead of the existing GoogleMaps.bundle in the xxx.app package, and a crash occurs when GMSMapView is created.
My Pod spec setting : spec.dependency 'GoogleMaps', '8.3.0'
Crash : 2024-03-18 11:22:52.999372+0900 APP[54626:4661048] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: non-file URL argument' *** First throw call stack: ( 0 CoreFoundation 0x0000000180491128 __exceptionPreprocess + 172 1 libobjc.A.dylib 0x000000018008412c objc_exception_throw + 56 2 Foundation 0x0000000180cd7c84 -[NSBundle _initUniqueWithURL:] + 0 3 Foundation 0x0000000180cd7cb0 +[NSBundle bundleWithURL:] + 28 4 APP 0x000000010506cd78 +[GMSResourceUtils findBundleWithName:identifier:bundleForLibraryClass:productName:] + 788 5 APP 0x0000000104fc3e9c +[GMSMapsResources sharedResources] + 236 6 APP 0x0000000104fccf94 +[GMSServices mapsBundle] + 32 7 APP 0x0000000104fa75d8 -[GMSAsyncInitServices init] + 148 8 APP 0x0000000104f *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSBundle initWithURL:]: non-file URL argument' *** First throw call stack: ( 0 CoreFoundation 0x0000000180491128 __exceptionPreprocess + 172 1 libobjc.A.dylib 0x000000018008412c objc_exception_throw + 56 2 Foundation 0x0000000180cd7c84 -[NSBundle _initUniqueWithURL:] + 0 3 Foundation 0x0000000180cd7cb0 +[NSBundle bundleWithURL:] + 28 4 APP 0x000000010506cd78 +[GMSResourceUtils findBundleWithName:identifier:bundleForLibraryClass:productName:] + 788
If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@vkwofm1 Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:
- Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
- Open a support case - Get 1:1 support in Cloud Console.
- Discord - chat with other developers
-
StackOverflow - use the
google-mapstag
This is an automated message, feel free to ignore.
Hello, any news for this issue?
No, the same bug still exists.
@wangela Is there a plan to fix the issue?
@vkwofm1 Did you find a solution for this issue?