google map sur iphone exception



hide poi on google maps (1)

La dernière version 1.5 du SDK nécessite un minimum de iOS 6 - c'est peut-être la raison pour laquelle vous voyez ces erreurs.

Si vous devez prendre en charge iOS 5, vous pouvez essayer de télécharger l'une des anciennes versions:

https://developers.google.com/maps/documentation/ios/releases

J'essaie d'ajouter une carte Google à mon application iPhone, je suis ce que google dit ici https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios

J'ai fait tout ce qu'ils ont dit et unformatunately, j'ai six erreurs lors de la construction de ma demande, ce sont:

Undefined symbols for 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 for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

NOTE, ma base sdk est ios 5 et ma cible de développement est 5





google-maps-sdk-ios