ios-maps-sdk icon indicating copy to clipboard operation
ios-maps-sdk copied to clipboard

GoogleMaps.bundle reference error in versions after 8.3.0

Open vkwofm1 opened this issue 11 months ago • 3 comments

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

vkwofm1 avatar Mar 18 '24 04:03 vkwofm1