在运行程序的时候报出的错误信息:
Undefined symbols for architecture armv7s: "_CLLocationCoordinate2DMake", referenced from: -[DodgeDirectionsViewController viewDidLoad] in DodgeDirectionsViewController.o ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
这错误怎么来的?请高人帮忙解决一下,谢谢。
在你的工程中加CoreLocation.framework
步骤:
project Targets -> Build Phases -> 点击 '+'按钮,然后添加CoreLocation' framework :)
这样就可以啦