iOS Tutorial GoogleMaps Tutorial

Status
Not open for further replies.

RichardHirst

Member
Licensed User
Longtime User
Having trouble sending the Map Demo to the iPad.

The other samples are working ok, but the Google Maps returns an error. Communication error: RequestCancelled.

Tried it on PC and Laptop..

Any Ideas please..

Richard
 

RichardHirst

Member
Licensed User
Longtime User
Are you using the hosted builder? Try to increase the process timeout (under Tools - IDE Options).


Yes using hosted builder.. Increased to 240.. still fails. This is the example direct from this website without modification...
 

RichardHirst

Member
Licensed User
Longtime User
Sending data to remote compiler. 86.17
Compilation completed successfully.
Make sure that B4i-Bridge is started (10.1.1.68).
Manually launch the app after installation.

Now it works.. tried all morning to get this to work.. ???
 

highflyer

Member
Licensed User
Longtime User
New versions of the Google maps SDK for iOS ( 1.10.0 May 2015) are distributed via something called "CocoaPods".
How to use it in B4i ?
 

Luiz Fernando Orlandini

Active Member
Licensed User
Longtime User
Are you using a local Mac builder? Have you tried to follow the steps here: https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios ? Eventually it should download the required files.
Hello. After migrating to B4I and update my local Mac builder, I started to get an strange error:

B4X:
Undefined symbols for architecture arm64:
  "_CBAdvertisementDataManufacturerDataKey", referenced from:
      -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o)
  "_CBAdvertisementDataServiceDataKey", referenced from:
      -[GMSx_PEBeaconScanner centralManager:didDiscoverPeripheral:advertisementData:RSSI:] in GoogleMaps(PEBeaconScanner.o)
  "_CBCentralManagerScanOptionAllowDuplicatesKey", referenced from:
      -[GMSx_PEBeaconScanner scanIfAppropriate] in GoogleMaps(PEBeaconScanner.o)
  "_OBJC_CLASS_$_CBCentralManager", referenced from:
      objc-class-ref in GoogleMaps(PEBeaconScanner.o)
  "_OBJC_CLASS_$_CBUUID", referenced from:
      objc-class-ref in GoogleMaps(PEBeacon.o)
      objc-class-ref in GoogleMaps(PEBeaconScanner.o)
  "_vImageBoxConvolve_Planar8", referenced from:
      (anonymous namespace)::CreateBlurredImage(CGImage*, double, double) in GoogleMaps(GLWaterGroup.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How can I solve that issue?

An additional information, when I use the hosted server, everything works fine.
 
Last edited:

kreativa

Member
Licensed User
Longtime User
HI!
I have the same problem like luiz fernando.
I downloaded the new version of googlemap.framework but i still receive the error message:
ld: symbol(s) not found for architecture arm64

Can you help me to solve?

Tanks!
 

RVP

Active Member
Licensed User
Longtime User
the zoom level is maximum currently to 20 as I understand, which isn't enough for my app maps. Can you explain why this is limited in such a way, and when an update will be available which will allow a higher level of zoom?
Thanks


Note, try changing the Map Type. the demo uses MAP_TYPE_TERRAIN which has a limited zoom, try one of the other types
 

tufanv

Expert
Licensed User
Longtime User
Erel
I have a problem. I have created my api key for ios from my console and added my package name for the key : com.ctmobilesoft.bmi911
When i run the program , I am getting

Application_Active
ClientParametersRequest failed, 3 attempts remaining (0 vs 6). Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<CFData 0x16e4a290 [0x3a8c03e8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
ClientParametersRequest failed, 2 attempts remaining (0 vs 6). Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<CFData 0x16def400 [0x3a8c03e8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
ClientParametersRequest failed, 1 attempts remaining (0 vs 6). Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<CFData 0x16de85b0 [0x3a8c03e8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
ClientParametersRequest failed, 0 attempts remaining (0 vs 6). Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<CFData 0x16e79f10 [0x3a8c03e8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
Google Maps SDK for iOS cannot connect or validate APIKey: Error Domain=com.google.HTTPStatus Code=400 "(null)" UserInfo={data=<CFData 0x16e79f10 [0x3a8c03e8]>{length = 145, capacity = 256, bytes = 0x3c48544d4c3e0a3c484541443e0a3c54 ... 3c2f48544d4c3e0a}}
Your key may be invalid for your bundle ID: com.ctmobilesoft.bmi911

I have checked my build configurations package name is same with the one i created in my console. I am still getting the white map only with markers
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…