Getting Error : “ CorePlot-CocoaTouch.h: No such f

2019-03-02 10:46发布

问题:

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?

回答1:

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.



回答2:

This helped as well

Header Search Paths -> "${PROJECT_DIR}/Your Project Name/CorePlot_0.9/Source/framework"


回答3:

Check at HEADER SEARCH PATHS if seted to recursive and not non-recursive