iOS Google Maps SDK 环境搭建

Google Maps SDK 使用介绍 https://developers.google.com/maps/documentation/ios/start

按照资料介绍,step by step,so you can!!

第一步,下载Google Maps SDK for iOS 

https://developers.google.com/maps/documentation/ios/start#getting_the_google_maps_sdk_for_ios

第二步 获取Google Maps API Key

https://developers.google.com/maps/documentation/ios/start#the_google_maps_api_key

注册Google帐户,获取Key

第三步 添加Google Maps SDK 到自己的iOS APP

https://developers.google.com/maps/documentation/ios/start#adding_the_google_maps_sdk_for_ios_to_your_project

在这里,因为对XCode IDE 不是很熟悉, 在设置编译环境时候

  • Replace the default value of Architectures with armv7.
  • In the Other Linker Flags section, add -ObjC. If these settings are not visible, change the filter in the Build Settings bar from Basic to All.

加入armv7

添加-ObjC编译设置.

其它的按照资料介绍,就可以搭建出自己project的google maps sdk 

还是觉得xcode 的使用不是很熟悉,在上面两个地方用右键是没用的,在那里搞了好久,都不知道怎么填进去。在此做个记录.

如果上面两个编译环境没设置好,程序是启动不了的。

posted @ 2013-03-22 11:48  酱酱爱  阅读(390)  评论(0编辑  收藏  举报