0
Undefined symbols for architecture i386:
  "_Ending_lat", referenced from:
      -[MapKitDragAndDropViewController calculator:] in MapKitDragAndDropViewController.o
      -[MapKitDragAndDropViewController viewDidLoad] in MapKitDragAndDropViewController.o
  "_Ending_log", referenced from:
      -[MapKitDragAndDropViewController calculator:] in MapKitDragAndDropViewController.o
      -[MapKitDragAndDropViewController viewDidLoad] in MapKitDragAndDropViewController.o
  "_Starting_lat", referenced from:
      -[MapKitDragAndDropViewController calculator:] in MapKitDragAndDropViewController.o
      -[MapKitDragAndDropViewController viewDidLoad] in MapKitDragAndDropViewController.o
  "_Starting_log", referenced from:
      -[MapKitDragAndDropViewController calculator:] in MapKitDragAndDropViewController.o
      -[MapKitDragAndDropViewController viewDidLoad] in MapKitDragAndDropViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这是我遇到的错误,请帮助我。

4

1 回答 1

0

如果您的类.m未在Compile SourcesOR 缺失框架下列出,您会发现这些类型的错误。我认为您忘记将其MapKit framework与您的iOS项目联系起来。

于 2013-10-01T07:53:12.080 回答