iOS Question Google maps

Alberto SN

Member
Licensed User
Hi,

Im trying start an app based on google maps.

I followed this instructions https://www.b4x.com/android/forum/threads/googlemaps-tutorial.47019/, and I used the example of the post, but receive this error message:

Error occurred on line: 115 (Main)
-[GMSDelegateForward mapViewDidStartTileRendering:]: unrecognized selector sent to instance 0x7cb714f0
Stack Trace: (
CoreFoundation __exceptionPreprocess + 182
libobjc.A.dylib objc_exception_throw + 44
CoreFoundation -[NSObject(NSObject) doesNotRecognizeSelector:] + 277
CoreFoundation ___forwarding___ + 1047
CoreFoundation _CF_forwarding_prep_0 + 14
Mapex -[GMSMapView raiseMapViewDidStartRenderingIfAppropriate] + 136
Mapex -[GMSMapView vectorMapViewDidStartLoadingTiles:] + 123
Mapex -[GMSVectorMapView lastUpdateHadPendingTiles] + 131
Mapex -[GMSTilesEntityProvider tileUpdaterBehaviorDidUpdate:hadAllTiles:tilesChanged:copyrightsChanged:copyrights:imageryCopyrights:copyrightYear:] + 183
Mapsoo ___ZN12_GLOBAL__N_121GLTileUpdaterBehavior6CommitEPN7gmscore8renderer14EntityRendererE_block_invoke739 + 128
libdispatch.dylib _dispatch_call_block_and_release + 15
libdispatch.dylib _dispatch_client_callout + 14
libdispatch.dylib _dispatch_main_queue_callback_4CF + 677
CoreFoundation __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 14
CoreFoundation __CFRunLoopRun + 2256
CoreFoundation CFRunLoopRunSpecific + 443
CoreFoundation CFRunLoopRunInMode + 123
GraphicsServices GSEventRunModal + 192
GraphicsServices GSEventRun + 104
UIKit UIApplicationMain + 1526
Mapex main + 138
libdyld.dylib start + 1
)

line 115:
Sub gmap_CameraChange (Position As CameraPosition)
End Sub

The app is for IOS only.

When I change in Build Configurations the package for the Erel's example, app works, but map is not present (for the API ID I think).

I checked the credentials and it's correct. I created a project in the google developer console with APIs activated.

In my mac is downloaded the SDK and I think its works.

I copied too the GoogleMaps.bundle directory on Files->Special subdirectory.

Please, can help me?

Thank u so much.
 

JanPRO

Well-Known Member
Licensed User
Longtime User
Hi,
I have tried the example with the latest SDK and it works fine for me.
But I was able to reproduce the crash, probably you are using version 1.0 of iGoogleMaps, here you can find v. 1.10.

Jan
 
Last edited:
Upvote 0

Alberto SN

Member
Licensed User
Hi JanPRO,

Thanks for your response.

Im using 1.10.

I don`t know if the problem is by setting.

This is build configuration:

upload_2016-3-19_12-49-31.png


And this is Google developer configuration project:

upload_2016-3-19_13-57-7.png


Its possible for the permissions?

Thanks.
 

Attachments

  • upload_2016-3-19_12-42-11.png
    upload_2016-3-19_12-42-11.png
    8.7 KB · Views: 164
Upvote 0

Alberto SN

Member
Licensed User
Yes!!! Thank you JanPRO, the version of iGoogleMaps in macserver was 1.05, I updated to 1.10 and its works.!!

Thank you so much JanPRO
 
Upvote 0
Top