以下是我尝试运行应用程序时收到的错误消息;
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)
如何更正此错误?有什么想法吗?
答案 0 :(得分:1)
在项目中包含CoreLocation.framework:)
修改:
步骤:
转到项目目标 - >构建阶段 - >单击“+”按钮并添加“CoreLocation”框架:)