iOS Question B4i Google Maps

Paul Leischow

Licensed User
Longtime User
A few months back I had no problem using Google Maps and recently I updated B4i to version 5.50 along with my local Build Server. Now when I try to compile the same app with Google Maps, it opens and starts to display the Map then crashes. The log says this...

Google Maps SDK for iOS version: 2.7.30514.0
New version of Google Maps SDK for iOS available: 3.0.33124.0
Error occurred on line: 306 (Main)
-[GMSCachedTile setVersionID:]: unrecognized selector sent to instance 0x600001b28e60
Stack Trace: (
CoreFoundation __exceptionPreprocess + 331
libobjc.A.dylib objc_exception_throw + 48
CoreFoundation -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
CoreFoundation ___forwarding___ + 1446
CoreFoundation _CF_forwarding_prep_0 + 120
NoFlyZone __62-[GMSTileDataCache storeCacheableTileDatas:completionHandler:]_block_invoke + 1453
CoreData developerSubmittedBlockToNSManagedObjectContextPerform + 161
libdispatch.dylib _dispatch_client_callout + 8
libdispatch.dylib _dispatch_lane_serial_drain + 720
libdispatch.dylib _dispatch_lane_invoke + 401
libdispatch.dylib _dispatch_workloop_worker_thread + 645
libsystem_pthread.dylib 0x000000010dd7afd2 _pthread_wqthread + 980
libsystem_pthread.dylib 0x000000010dd7abe9 start_wqthread + 13
SignalHandler 6

Any ideas??

Paul Leischow

Licensed User
Longtime User
Thanks Erel for letting me test my project with your Hosted Builder. It worked fine using your Builder so that showed there was a problem on my end.
I reinstalled the Builder on my end and used the Google Maps Framework you suggested and suddenly everything now works.
Not sure why I was able to use framework v2.7.3 before but your v2.3.3 works so I'll stick with that for now!
Upvote 0