iphone - undefined symbol for architecture -


how resolve following:

undefined symbols architecture i386:   "_objc_class_$_rkobjectloaderttmodel", referenced from:       objc-class-ref in mygroupviewcontroller.o ld: symbol(s) not found architecture i386 collect2: ld returned 1 exit status 

the code have is:

- (void)createmodel {     rkobjectloader* objectloader = [[rkobjectmanager sharedmanager] loadobjectsatresourcepath:@"/groups.json" delegate:nil];     self.model = [rkobjectloaderttmodel modelwithobjectloader:objectloader];     [super createmodel]; }   - (void)didloadmodel:(bool)firsttime {     [super didloadmodel:firsttime];      if ([self.model iskindofclass:[rkobjectloaderttmodel class]]) {         rkobjectloaderttmodel* model = (rkobjectloaderttmodel*) self.model;         nsmutablearray* items = [nsmutablearray arraywithcapacity:[model.objects count]];          ttlistdatasource *datasource = [[[ttlistdatasource alloc] init] autorelease];          (group* group in model.objects) {             nsstring* imageurl = group.creator.url;             tttableimageitem* avatar = [tttableimageitem itemwithtext:@" "                                                              imageurl:imageurl];              tttableitem *item =              [tttablesubtitleitem               itemwithtext:group.name              subtitle:[nsstring stringwithformat:@"%@ members %@ topics ", group.members_count , group.topics_count]              url:@""];              [items addobject:item];             [items addobject:avatar];         }          datasource.items = items;         //datasource.model = model;         self.datasource = datasource;     } } 

please suggest.

in target settings of xcode under "build phases" part "link binary libraries" make sure library listed there.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -