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

爱⌒轻易说出口 提交于 2019-12-02 13:13:35

问题


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



来源:https://stackoverflow.com/questions/5037368/getting-error-coreplot-cocoatouch-h-no-such-file-or-directory-while-implem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!