iOS Question Google Maps Framework

tucano2000

Active Member
Licensed User
I upgraded the B4i to 5.51v and the local Mac Builder to 5.50v. I also updated Google Framework but in 2 cases had problems:



1) with the Previous Mobile SDK - Google Maps Framework 2.70

https://developers.google.com/maps/premium/previous-licenses/mobile/previous-mobile-sdk-ios

https://dl.google.com/dl/cpdc/f4086b0aa122de6c/GoogleMaps-2.7.0.tar.gz (direct link)

Compilation is ok, but when I run the App in the Simulator, it displays this fault:

B4X:
Application_Start
Configuring the default app.
Notifications are enabled
Application_Pushtoken
Error getting token: <B4IExceptionWrapper: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not supported in the simulator}>
Application_Pushtoken
Error getting token: <B4IExceptionWrapper: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not supported in the simulator}>
Application_Active
FCMConnected
Application_Inactive
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: 753 (Main)
-[GMSCachedTile setVersionID:]: unrecognized selector sent to instance 0x6000024a2d50
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
  INFRANOTE            __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             0x000000011574361c _pthread_wqthread + 409
 libsystem_pthread.dylib             0x0000000115743415 start_wqthread + 13
)
SignalHandler 6
SignalHandler 6



2) with the Latest Version - Google Maps Framework 3.03

The GooglePlaces framework, in Install Manually, shows the new version of GoogleMaps Framework.


https://developers.google.com/places/ios-sdk/start#step-2-install-the-api

https://dl.google.com/dl/cpdc/4fb8b2192f32cf7c/GoogleMaps-3.0.3.tar.gz (direct link)


In this case, B4i shows this message returned by XCode:

https://www.dropbox.com/s/nf2xffl96ddnc1a/Error.txt?dl=0

When I updated the Framework, I replaced the 3 framework files in Mac Builder Folder:

GoogleMapsCore.framework
GoogleMaps.framework
GoogleMapsBase.framework


My App worked seamlessly with previous version 5.0 of B4i and an old Framework. I have not changed any code in my App. Is there a new version for iGoogleMaps? Am I using any wrong version of the Framework?


My S.O. is Mojave and using XCode 10.
 

tucano2000

Active Member
Licensed User
When using this suggested framework, I had pretty much the same problem with Lib 3.03 above.

The list of server files for comparison follows:


B4i Build Server
Build server is running.
Version: 5.5
Server time: 21:01:43
Mac SSL Key
Invalid key!!!
SSL port: 51042
h files
  • iAd: 1.00
  • iAdMob: 1.60
  • iAnalytics: 1.0
  • iArchiver: 1.20
  • iBarcode: 1.20
  • iBitmapCreator
  • iBLE: 2.00
  • iCallSubUtils
  • iContacts: 1.00
  • iCore: 5.50
  • iCustomDialog: 1.00
  • iCustomListView
  • iDateUtils
  • iDebug: 1.60
  • iDebug2: 1.60
  • iDesigner: 1.20
  • iDropboxSync: 1.00
  • iEncryption: 1.02
  • iEventKit: 1.00
  • iFacebook: 1.00
  • iFirebaseAnalytics: 1.00
  • iFirebaseAuth: 1.02
  • iFirebaseNotifications: 1.00
  • iFirebaseStorage: 1.10
  • iGameCenter: 1.01
  • iGameView: 1.05
  • iGoogleMaps: 1.41
  • iHttp: 1.01
  • iHttpUtils2
  • iHUD: 1.00
  • iJSON: 1.0
  • iLeadbolt: 2.00
  • iLocation: 1.20
  • iMedia: 1.22
  • iMQTT: 1.10
  • iNet: 1.80
  • iNetwork: 1.32
  • iNFC
  • iPhone: 2.00
  • iRandomAccessFile: 1.72
  • iReleaseLogger: 1.00
  • iRSA: 1.0
  • iSideMenu: 1.01
  • iSpeechRecognition: 1.00
  • iSQL: 1.50
  • iStore: 1.21
  • iStringUtils: 1.02
  • iSVG: 1.20
  • iTableView: 1.21
  • iTabStrip: 1.00
  • iUI8: 1.51
  • iUI9: 1.0
  • iWebSocket: 1.10
  • iXmlBuilder: 1.00
  • iXmlSax: 1.10
  • iXUI: 1.90
  • iXUI2D: 0.99
  • xCustomListView
a files
  • libAdapterInMobi, size=1125360, modified=05/04/2017 15:19:34
  • libCore, size=3772400, modified=01/07/2019 20:30:50
  • libiAd, size=39072, modified=08/17/2017 18:02:12
  • libiAdMob, size=492088, modified=05/24/2018 15:55:56
  • libiAnalytics, size=39392, modified=08/17/2017 18:02:16
  • libiArchiver, size=463088, modified=08/17/2017 18:02:18
  • libiBarcode, size=249056, modified=08/17/2017 18:02:20
  • libiBitmapCreator, size=1394216, modified=11/01/2018 19:29:12
  • libiBLE, size=228216, modified=08/17/2017 18:02:22
  • libiCallSubUtils, size=126952, modified=08/17/2017 18:33:06
  • libiContacts, size=142816, modified=08/17/2017 18:02:24
  • libiCustomDialog, size=2720512, modified=08/17/2017 18:02:32
  • libiCustomListView, size=316424, modified=08/27/2017 21:51:10
  • libiDateUtils, size=257440, modified=10/18/2017 16:21:58
  • libiDebug2, size=1124736, modified=12/13/2018 17:18:10
  • libiDesigner, size=939304, modified=08/17/2017 18:57:22
  • libiDropboxSync, size=80960, modified=05/04/2017 15:19:36
  • libiEncryption, size=66512, modified=08/17/2017 18:02:34
  • libiEventKit, size=330256, modified=08/17/2017 18:56:26
  • libiFacebook, size=93392, modified=08/17/2017 18:02:40
  • libiFirebaseAnalytics, size=33880, modified=08/17/2017 18:02:42
  • libiFirebaseAuth, size=161512, modified=08/17/2017 18:02:44
  • libiFirebaseNotifications, size=66600, modified=08/17/2017 18:02:46
  • libiFirebaseStorage, size=140832, modified=12/06/2017 14:57:10
  • libiGameCenter, size=158080, modified=11/06/2017 11:50:46
  • libiGameView, size=4018288, modified=06/07/2018 15:02:00
  • libiGoogleMaps, size=171080, modified=08/15/2018 13:30:24
  • libiHttp, size=122656, modified=08/17/2017 18:03:04
  • libiHttpUtils2, size=342992, modified=09/12/2018 16:21:28
  • libiHUD, size=291472, modified=08/17/2017 18:03:06
  • libiJSON, size=52960, modified=08/17/2017 18:03:10
  • libiLeadbolt, size=21440, modified=05/04/2017 15:19:36
  • libiLocation, size=125184, modified=08/17/2017 18:03:14
  • libiMedia, size=259208, modified=10/25/2017 11:40:54
  • libiMQTT, size=1694912, modified=01/01/2019 15:56:10
  • libiNet, size=559040, modified=12/14/2018 13:35:12
  • libiNetwork, size=267336, modified=11/19/2017 16:13:02
  • libiNFC, size=40424, modified=10/08/2017 20:48:28
  • libiPhone, size=326664, modified=08/17/2017 18:03:34
  • libiRandomAccessFile, size=399912, modified=08/17/2017 18:03:38
  • libiReleaseLogger, size=50136, modified=08/17/2017 17:03:40
  • libiRSA, size=145648, modified=09/03/2017 15:01:38
  • libiSideMenu, size=505920, modified=08/17/2017 18:03:44
  • libiSpeechRecognition, size=168816, modified=08/17/2017 18:03:50
  • libiSQL, size=408088, modified=08/17/2017 18:03:54
  • libiStore, size=75856, modified=05/15/2018 16:23:18
  • libiStringUtils, size=55272, modified=12/20/2018 12:06:48
  • libiSVG, size=83312, modified=08/17/2017 18:56:48
  • libiTableView, size=194152, modified=05/04/2017 15:19:36
  • libiTabStrip, size=1335904, modified=08/17/2017 18:56:58
  • libiUI8, size=572936, modified=08/22/2018 22:06:08
  • libiUI9, size=107056, modified=08/17/2017 18:04:04
  • libiWebSocket, size=401984, modified=01/15/2018 18:53:58
  • libiXmlBuilder, size=151384, modified=08/17/2017 18:04:08
  • libiXmlSax, size=62976, modified=08/17/2017 18:04:12
  • libiXUI, size=739576, modified=12/18/2018 13:03:30
  • libiXUI2D, size=8542896, modified=09/04/2018 15:11:22
  • libxCustomListView, size=450680, modified=12/27/2018 14:55:10
 

tucano2000

Active Member
Licensed User
I would like to test with a temporary account because I no longer have access to B4i Hosted.
 

tucano2000

Active Member
Licensed User
Okay. Thank you Erel. My App worked perfectly on B4i Hosted Builder.

Could you compress and post the Framework that Hosted is using?

Here for me I need the B4i Mac Builder to test in the Simulator on the new versions of iOS. I think it's a problem with the Google Maps Framework because of the ones that I put here with the errors shown above.
 

tucano2000

Active Member
Licensed User
I finally got it.

I made the mistake of copying the entire folder with the name GoogleMaps.Framework to the Libs folder of B4i Buider.

But it's to copy the 3 files inside the GoogleMaps.Framework folder to the Libs folder.

I had already made an update a long time ago but I did not remember.

Thanks for the help.
 
Top