Search code examples
iphoneioscore-plotxcode4.1

Error in the core plot configuration


I'm trying to use CorePlot for an iOS application, I followed the instructions here. But even if the CorePlot-CocoaTouch.h file exists (CorePlot/CorePlotHeaders), the build failed saying:

/Users/zakariagaizi/Desktop/core_plot/core_plot/core_plot-Prefix.pch:14:36: error: CorePlot-CocoaTouch.h: No such file or directory


Solution

  • So you have to add the relative path from your project file to the directory of CorePlot in the "Header Search Paths" so that the pre-processor can find them.