views:

185

answers:

1

hi, I'm getting this error in Xcode while developing an app for iPhone , what is this error related to, ... what should i do to clear this error? Here CContext and CManager are interface which implement there own protocols.And TestManagerAppDelegate is the interface where i'm creating the object for CContext and CManager and i want to call the methods using there own objects.

ERROR:

".objc_class_name_CContext", referenced from:
".objc_class_name_CManager", referenced from:
collect2:id retirned 1 exit status
literal-pointer@_OBJC@_cls_refs@CContext in TestManagerAppDelegate.o
literal-pointer@_OBJC@_cls_refs@Cmanager in TestManagerAppDelegate.o
symbol(s) not found
A: 

It looks like the files that contain the implementations for the CContext and CManager classes (probably CContext.m and CManager.m) were not included in your Xcode project.

Diederik Hoogenboom
@Diederik : i've included both .m files in my project.. i don't knw why this error is popping up..
suse
Are the class files also assigned to the right target? Could it be that you are running some unit tests from a separate target?
Diederik Hoogenboom