Search code examples
iphoneios4chartscore-plot

Getting Error : " CorePlot-CocoaTouch.h: No such file or directory" while implementing Core-Plot in iPhone SDK


I am getting the following error when I try to implement Core-Plot in my iPhone app.

CorePlot-CocoaTouch.h: No such file or directory

I downloaded installed the Core-plot package from the below link

http://code.google.com/p/core-plot/w/list

Still it does not seem to work and gives error as mentioned above.

What could be wrong?


Solution

  • Use this link, and add -all_load and -Objc in other linker Flags (get info -> build (in linking section you find other linker flags)).

    And give complete path in header search paths (in search path section) for your core-plot framework. Looks like .../core-plot/framework.