Iphone build error - literal-pointer symbol(s) not found
Posted
by Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2010-04-27T18:16:58Z
Indexed on
2010/04/27
18:23 UTC
Read the original article
Hit count: 563
Sorry I imagine I'm missing something basic here. Before I write up a bunch of details on the specifics of the class I'd appreciate a nudge or smack on the head about the meaning of this build error.
I have a subclass of NSObject SiteAnnotation that should be conforming to the MKAnnotation protocol. It is #imported in the ViewController in question
When I try to alloc/init:
SiteAnnotation *thisAnnotation = [[SiteAnnotation alloc] init];
This is the build error which occurs:
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
Any tips appreciated.
© Stack Overflow or respective owner