解决方案 »
- iphone应用开发完整视频教程(分享中..需要的请看帖子)
- 苹果的Iphone开发适合个人做吗?
- 关于iOS 加密解密的问题,
- 求iphone SDK,有好心人给我个吗、
- 有关iphone地图开发问题
- 关于UIWebView的goback和cangoback的用法
- 如何判断程序是否在进行???
- 新手请教入门问题。
- xcode真机调试错误,Could not launch ”*“
- 最近开发出现一个奇怪问题 UIViewController的view会上移动20像素
- 究竟如何适配4s的画面呀,为什么我设置控件的frame和center都没效果呢?Reset to suggested constraints怎么用呢?
- 请问Xcode调试窗口中的括号内的内容是什么意思?
你点击项目的xcodeproj 找到“build phases” ,在copy bundle resources 中点下面的+ 将'GoogleMaps.bundle’ 文件加入进来,再编译
2014-11-21 15:15:06.846 GoogleMapView[5282:166274] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x7f84127147c0'
2014-11-21 15:15:06.846 GoogleMapView[5282:166274] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x7f84127147c0'我按照那个网站上面建的工程,怎么说实例不存在,我新手的,请教下大牛您,谢谢呀
2014-11-21 15:15:06.846 GoogleMapView[5282:166274] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GMSMapView animateToCameraPosition:]: unrecognized selector sent to instance 0x7f84127147c0'我按照那个网站上面建的工程,怎么说实例不存在,我新手的,请教下大牛您,谢谢呀
是不是没有添加相关的静态库呀。如果添加了的话,你在设置一个地方,在项目的build settings 中找到other linker flag 在右边双击添加flag. 这个flag 是 -Objc. 加上它主要是解决库中的category在编译时不能被找到的问题。