解决方案 »

  1.   

    给出的异常信息已经说明了,'GoogleMaps.bundle‘ 这个文件需要必须要添加项目的Copy Bundle Resources中。
    你点击项目的xcodeproj 找到“build phases” ,在copy bundle resources 中点下面的+ 将'GoogleMaps.bundle’ 文件加入进来,再编译
      

  2.   

    我下载的那个包里面没看到'GoogleMaps.bundle‘  去哪找了?
      

  3.   

    我下载的那个包里面没看到'GoogleMaps.bundle‘  去哪找了?
      

  4.   

    自己找找,还是资源中根本就没带找到了,现在又报这个错误,2014-11-21 15:15:06.754 GoogleMapView[5282:166274] -[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'
      

  5.   

    自己找找,还是资源中根本就没带找到了,现在又报这个错误,2014-11-21 15:15:06.754 GoogleMapView[5282:166274] -[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'我按照那个网站上面建的工程,怎么说实例不存在,我新手的,请教下大牛您,谢谢呀
      

  6.   

    自己找找,还是资源中根本就没带找到了,现在又报这个错误,2014-11-21 15:15:06.754 GoogleMapView[5282:166274] -[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在编译时不能被找到的问题。