核心情节:库二进制文件丢失
我正在关注此链接:
http://www.jaysonjc.com/programming/pie-chart-drawing-in-iphone-using-core-plot-library.html
在 Xcode 中绘制值。 但对我来说,添加子项目 CorePlot-CocoaTouch.xcodeproj 不包含 libCorePlot-CocoaTouch.a 库二进制文件以遵循进一步的说明。我正在使用 XCode 4.0.2..
它应该是这样的:
我已经花了一整天的时间尝试包含该框架:(
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 XCode 4.0.2..
This is how it should look like:
I already spend the whole day trying to include that framework :(
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您使用相同的设置,但它们在 Xcode 3 和 Xcode 4 中位于不同的位置。看起来该教程是使用 Xcode 3 完成的。
在 Xcode 4 中,您可以通过在左侧,单击中间的目标,然后选择右侧的“构建阶段”选项卡。将libCorePlot-CocoaTouch.a从Core Plot Products文件夹拖到右侧的“Link Binary With Libraries”部分。单击“目标依赖项”下的“+”并添加CorePlot-CocoaTouch。 .a 文件对我来说仍然显示为红色,但它可以正常编译和链接。
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.