在iOS中使用Google地图时出错? [英] Error using Google Maps in IOS?

查看:359
本文介绍了在iOS中使用Google地图时出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Google Maps API在iOs中创建mapView。

我通过引用此链接来完成它。



我注意到您对其他答案进行了评论,因此您使用的是哪个版本的SDK?


I am creating a mapView in iOs, using Google Maps Api.
I did it by referring this link

Document
And I am getting few errors like

Undefined symbols for architecture i386:
"_objc_setProperty_nonatomic", referenced from:
  -[GMSx_PBGeneratedMessage setExtensionRegistry:] in GoogleMaps(ProtocolBuffers.o)  


I am fed up with this, can anybody kindly help with this.

解决方案

I think Kalpesh was on the right track with his comment. Your screenshot shows you as running with the iOS 5.1 simulator, but the current version of the maps iOS SDK requires iOS 6.0 or newer.

My answer which Kalpesh linked to explains this in more detail:

google map on iphone exception

I noticed you commented on that other answer though, so which version of the SDK are you using?

这篇关于在iOS中使用Google地图时出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆