Monday, January 13, 2014

The Google Maps added to ios program, according to the official website of the steps Google did. Runtime errors

Guidance official website: https://developers.google.com/maps/documentation/ios/start
Wrong location: main.m file
Error statement: @ autoreleasepool {return UIApplicationMain (argc, argv, nil, NSStringFromClass ([AppDelegate class]));}
Error: Thread1: signalSIGABRT
For more tips:
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'
Reply:
Select the target in the search for Other Linker Flag buildsetting add-ObjC in the results so that the line
Reply:
Thank you very much, I am looking for a long time did not find this error: I wrote-Objc

No comments:

Post a Comment