开发者

Core plot: Library binary missing

I was following this link :

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

to plot values in Xcode. But for me adding the daughter project CorePlot-CocoaTouch.xcodeproj includes no libCorePlot-CocoaTouch.a library binary to follow further instructions. I am using开发者_JAVA技巧 XCode 4.0.2..

Core plot: Library binary missing

This is how it should look like:

Core plot: Library binary missing

I already spend the whole day trying to include that framework :(


You use the same settings, but they're in different places in Xcode 3 and Xcode 4. It looks like that tutorial was done with Xcode 3.

In Xcode 4, you get to the settings pane that you need by selecting your project on the left, clicking the target in the middle, and selecting the "Build Phases" tab on the right. Drag libCorePlot-CocoaTouch.a from the Core Plot Products folder to the "Link Binary With Libraries" section on the right. Click the "+" under "Target Dependencies" and add CorePlot-CocoaTouch. The .a file still appears in red for me, but it compiles and links fine.

Core plot: Library binary missing

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜