抱歉,我想我在这里缺少一些基本的东西。在我写下关于课程细节的一堆细节之前,我希望能对这个构建错误的含义进行轻推或敲击。
我有一个 NSObject SiteAnnotation 的子类,它应该符合 MKAnnotation 协议。它在有问题的 ViewController 中 #imported
当我尝试分配/初始化时:
SiteAnnotation *thisAnnotation = [[SiteAnnotation alloc] init];
这是发生的构建错误:
Link /build/Debug-iphonesimulator/testbed.app/testbed
".objc_class_name_SiteAnnotation", referenced from:
literal-pointer@__OBJC@__cls_refs@SiteAnnotation in MapViewController.o
Symbol(s) not found
collect2: ld returned 1 exit status
任何提示表示赞赏。