将 CorePlot 添加到 iPhone 项目 - 错误?
Linker information below
Followed the directions.
Any ideas on how to fix?
Followed directions for install. I'm using Xcode 4.0.
Thanks, J
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您是否按照说明进行操作?确保将
-ObjC -all_load -lCorePlot
添加到其他链接器标志。Did you follow the instructions? Make sure you add
-ObjC -all_load -lCorePlot
to Other Linker Flags.重新检查说明并将 CorePlot-CocoaTouch.xcodeproj 正确拖入项目中。解决了问题。希望这对其他人有帮助;)
Rechecked instructions and dragged CorePlot-CocoaTouch.xcodeproj into project properly. Solved the problem. Hope this helps someone else ;)
您需要在“deleteTest”目标中包含 Foundation.framework。选择它,然后转到“构建阶段”,您将看到其中一个阶段为“链接二进制文件和库”,展开它并单击此列表左下角的+号。从此列表中添加框架。
You need to include Foundation.framework in your "deleteTest" target. Select it then go to "Build Phases", you will see one of the phases as "Link Binaries and Libraries", expand this and click the + sign in the bottom left of this list. Add the Framework from this list.
在那里我找到了一个使用 Core-Plot 的很好的链接,其中详细解释了如何将其添加到项目和项目中。使用Core-Plot的委托方法。
http://www.switchonthecode.com/tutorials/using -core-plot-in-an-iphone-application
它对我来说适用于 g8。希望你也能做同样的事情,只是昨天我从这里做了同样的事情。
There I found a good link for using Core-Plot having detailed explaining how to add it to project & use the delegate method of Core-Plot.
http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application
It worked g8 for me. Hope you would be able to do the same ,yesterday only I did the same thing from here.