官网的指导:https://developers.google.com/maps/documentation/ios/start
出错的位置:main.m文件中
出错语句:@autoreleasepool{return UIApplicationMain(argc,argv,nil,NSStringFromClass([AppDelegate class]));}
错误提示:Thread1:signalSIGABRT
详细提示:
2013-10-09 10:48:06.995 map1009[513:a0b] +[GMSCameraPosition cameraWithLatitude:longitude:zoom:]: unrecognized selector sent to class 0x262d8c
2013-10-09 10:48:06.998 map1009[513:a0b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[GMSCameraPosition cameraWithLatitude:longitude:zoom:]: unrecognized selector sent to class 0x262d8c'
------解决方案--------------------
选中target 在buildsetting中 搜索Other Linker Flag 在结果中添加 -ObjC 这样就行了