码迷,mamicode.com
首页 > 移动开发 > 详细

高德地图初始化 ios

时间:2014-12-09 21:17:10      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:des   blog   http   io   ar   os   sp   for   on   

最新版本的高德地图AMap_iOS_API_Lib_V2.1.1 2,这个可以到高德地图官网下载,并且按照官网给的步骤加载库,等我们加载完后要申请一个高德地图apiKey,这个非常容易。然后在我们想初始化地图的地方写上

 [MAMapServices sharedServices].apiKey =@"7e475dd3713565015cac7ea667977a63";这个key是我自己申请的  ,没有key的话地图不会显示出来,这样程序可以跑起来了   但是还有这样的警告warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/OffsetCoordinate/lib/Release-iphonesimulator/liboffset.a(offset.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTMatrixX.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTString.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTQuaternionX.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTTrans.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTTriStrip.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTResourceFile.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTQuaternionF.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTMatrixF.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTVector.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTMisc.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTError.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTModelPOD.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTTexture.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTDecompress.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTPrint3D.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTFixedPoint.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTVertex.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTBackground.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTglesExt.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTPrint3DAPI.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTTextureAPI.o) unable to open object file

warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_20131010/MapKit_static/MapKit_static/External/AMap3D/libAMap3DEngine.a(PVRTShadowVol.o) unable to open object file。。。。。。。。。。,这里我们只要找到一个地方设置一下就可以了  ,那就是在targets里面的build settings里的buildoptions的Debug Information Format 设置成DRAWFbubuko.com,布布扣设置成bubuko.com,布布扣


run,   ok!!!

高德地图初始化 ios

标签:des   blog   http   io   ar   os   sp   for   on   

原文地址:http://www.cnblogs.com/lvyinbentengzhe/p/4154105.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!