我收到以下错误:
Undefined symbols for architecture i386:
"_CLLocationCoordinate2DMake", referenced from:
-[ViewController loadView] in ViewController.o
我查看了以前的 StackOverflow 帖子,他们说要确保 CoreLocation.framework 在目标的构建阶段选项卡中的“Link Binary with Libraries”中,我做到了。