google map on iphone exception -
i trying add google map iphone application , follow google says here https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios
i did said , unformatunately, have 6 errors when building application, :
undefined symbols architecture i386: "_objc_setproperty_nonatomic", referenced from: -[gmsx_pbgeneratedmessage setextensionregistry:] in googlemaps(protocolbuffers.o) "_nsurlisexcludedfrombackupkey", referenced from: _gmssetskipbackupattribute in googlemaps(gmsutils.o) "_objc_setproperty_nonatomic_copy", referenced from: -[gmsblockanimationdelegate setstartblock:] in googlemaps(gmscoreanimation.o) -[gmsblockanimationdelegate setcompletionblock:] in googlemaps(gmscoreanimation.o) -[gmsgltileprovider setalltilesdeadblock:] in googlemaps(gmsgltileprovider.o) -[gmsuserevent3logger setoutputfilter:] in googlemaps(gmsuserevent3logger.o) -[gmspanoramalink setpanoramaid:] in googlemaps(gmspanoramalink.o) -[gmsiconcache setname:] in googlemaps(gmsiconcache.o) "_objc_setproperty_atomic", referenced from: -[gmsdashprotobufferrequest setprotobuffer:] in googlemaps(gmsdashconnectionrequest.o) -[gmsdashconnection setserverurl:] in googlemaps(gmsdashconnection.o) -[gmsvectormodifiermaptileservice settilefilter:] in googlemaps(gmsvectormodifiermaptileservice.o) -[gmsx_gtmhttpfetcher setmutablerequest:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setcredential:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setproxycredential:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setpostdata:] in googlemaps(gtmhttpfetcher.o) ... "_objc_setproperty_atomic_copy", referenced from: -[gmsdashblocksrequest setasyncrequestfailedhandler:] in googlemaps(gmsdashconnectionrequest.o) -[gmsdashconnection setexperimentids:] in googlemaps(gmsdashconnection.o) -[gmsx_gtmhttpfetcher setservicehost:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setdownloadpath:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher settemporarydownloadpath:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setcomment:] in googlemaps(gtmhttpfetcher.o) -[gmsx_gtmhttpfetcher setlog:] in googlemaps(gtmhttpfetcher.o) ... "_objc_class_$_uiactivityviewcontroller", referenced from: objc-class-ref in googlemaps(gmsservices.o) ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
note, base sdk ios 5 , development target 5
the latest version 1.5 of sdk requires minimum of ios 6 - might why seeing errors.
if must support ios 5, try downloading 1 of older versions:
https://developers.google.com/maps/documentation/ios/releases
Comments
Post a Comment