Linking Error with Static Libraries

I am trying to get some static libraries into my project and I've given the Header Search Path under build setting and that is successfully run but when I start to use some more static files then it will give me the following type of error:

"_OBJC_CLASS_$_CMocrDirectoryDataSource", referenced from: objc-class-ref in RecognitionViewController.o

"_OBJC_CLASS_$_CMocrEngine", referenced from: objc-class-ref in RecognitionViewController.o

When ctrl + click on the CMocrDirectoryDataSource and CMocrEngine files then it will redirect me to the following defined file that means linking to the file is fine but why this error may occur..

Please if anyone got the same kind of problem then help me soon..



Try this:

Remove all of your classes from compile sources, then click the + button and search for the term '.m'. Highlight every class, then click add. Build and run again.

Sometimes Xcode misses adding classes in its compile list.

Need Your Help

iPhone apps: Can I detect whether a user has a certain app installed from a website?


I'd like to use links with special schemes in a website that'll launch an iphone app for a user when clicked (see my previous question for reference).

Is there a security issue with using javascript to manipulate cookies?


Hey guys, another quick question for the experts. I have an alert box that displays updates processed in php to the user just like this site. I want to make it so that if the user closes the box, t...