CorePlot iPhone error : CorePlot-CocoaTouch.h: no such file or directory

限于喜欢 提交于 2019-12-02 04:19:22

Make sure that in the build target, the header is part of the copy build phase. This should clear it up if you're in fact, embedding CorePlot in the application.

  • You should to set Header Search Paths = ../build/ ** ../framework/ **

  • Your filepaths should be:

    -> folder X

    -> -> build (CorePlot buildFolder)

    -> -> framework (CorePlot projectFolder)

    -> -> myProjectFolder

    -> -> -> myProject.xcodeproj

    -> -> -> [...]

Go thru this link..

http://www.jaysonjc.com/programming/pie-chart-drawing-in-iphone-using-core-plot-library.html

It'll b helpful..

just check the header search paths (to get the right path ,go to CorePlot-CocoaTouch.h file ,right click and then get info )and even U should tick on recursive in header search paths.

Make sure that you have dragged the headers folder which is the part of the framework. For me just by just by dragging the solution did not help. I had to drag the headers to my application in order to make it work.

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