错误:CorePlot-CocoaTouch.h:没有这样的文件或目录
我知道我问同样的问题,因为这个问题已经被其他人问过很多次了,但在执行所有步骤后我仍然遇到问题
首先,将 CorePlot-CocoaTouch.xcodeproj 文件拖到您的 iPhone 应用程序的 Xcode 项目中(确保没有复制任何内容)并且路径与您的项目相关)。然后转到 Xcode 中的 Targets 选项卡,选择应用程序的目标,然后打开检查器。转到常规设置页面并将 CorePlot-CocoaTouch 库添加为直接依赖项。
Core Plot 是作为 iPhone 的静态库构建的,因此您需要将 CorePlot-CocoaTouch.xcodeproj 组下的 libCorePlot-CocoaTouch.a 静态库拖到目标的 Link Binary With Libraries 文件夹中。
您还需要指向正确的标题位置。在“构建”设置下,将“标头搜索路径”设置为从应用程序到 Core Plot 源树中的 Framework/ 子目录的相对路径。确保使此标头搜索路径递归。您还需要将 -ObjC 和 -all_load 添加到其他链接器标志。
Core Plot 基于 Core Animation,因此如果您还没有将 QuartzCore 框架添加到您的应用程序项目中。
我不知道问题出在哪里,
谢谢
i know i am asking the same question as this question is already ask many times by other people but still i have problem after following all steps
First, drag the CorePlot-CocoaTouch.xcodeproj file into your iPhone application's Xcode project (making sure that nothing's copied and the paths are relative to your project). Then go to the Targets tab in Xcode, select your application's target, and bring up the inspector. Go to the General settings page and add the CorePlot-CocoaTouch library as a direct dependency.
Core Plot is built as a static library for iPhone, so you'll need to drag the libCorePlot-CocoaTouch.a static library from under the CorePlot-CocoaTouch.xcodeproj group to your target's Link Binary With Libraries folder.
You'll also need to point to the right header location. Under your Build settings, set the Header Search Paths to the relative path from your application to the framework/ subdirectory within the Core Plot source tree. Make sure to make this header search path recursive. You need to add -ObjC and -all_load to Other Linker Flags as well.
Core Plot is based on Core Animation, so if you haven't already, add the QuartzCore framework to your application project.
i am not able to figure it out where is the problem
thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在我的项目中添加了头文件夹
I added header folder in my project
试试这个链接,这会对你有帮助。
https://decibel.ni.com/content/docs/DOC-12836
try this link, this will help you.
https://decibel.ni.com/content/docs/DOC-12836