核心情节1.0与iPhone 5和Xcode 4.2 - 'CorePlot0'在编译时不包含有效的pid错误 [英] core plot 1.0 with iPhone 5 and Xcode 4.2 - 'CorePlot0' does not contain a valid pid Error on compilation

查看:130
本文介绍了核心情节1.0与iPhone 5和Xcode 4.2 - 'CorePlot0'在编译时不包含有效的pid错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已按照应用程序核心图网址中的安装步骤进行操作。
根据主题定义,核心图版本是1.0,在Xcode 4.2中使用iPhone 5.0模拟器进行了尝试。

I have followed installation steps from the core plot in Application url. As defined in subject, core plot version is 1.0 which was tried with iPhone 5.0 Simulator in Xcode 4.2.

我做了什么:

1)我只是将CorePlot示例(即:CPTTestApp-iphone)中的一个从CorePlot_1.0 / Source / Example文件夹复制到我的Xcode项目工作区。

1) I've simply copy one of the CorePlot Example (i.e : CPTTestApp-iphone) from CorePlot_1.0/Source/Example Folder to my Xcode project workspace.

2)在我的示例应用程序中从CorePlot_1.0 / Source /拖放框架文件夹。

2) Drag&Drop framework folder from CorePlot_1.0/Source/ in my example app.

3)更改了标题搜索路径和用户带字符串的标题搜索路径

3) Changed Header Search Path and User Header Search Path with string


$ {PROJECT_DIR} / framework/ **

"${PROJECT_DIR}/framework"/**

4)并遵循其他步骤,如应用程序中的核心图 url
喜欢设置其他链接器标记,在目标依赖项和链接二进制文件库部分中添加核心图和核心图cocoaTouch。

4) and follows other steps as from the core plot in Application url like set other linker flags, added core plot and core plot cocoaTouch in target Dependencies and Link Binary With Libraries section.

5)Build Option中C的编译器是默认编译器(Apple LLVM编译器3.0),

5) Compiler for C in "Build Option" is "default compiler (Apple LLVM compiler 3.0)",

CorePlot-CocoaTouch.h文件也是在没有错误的情况下导入的。

"CorePlot-CocoaTouch.h" file is also imported without error.

但是在编译时,应用程序崩溃,错误'CorePlot0'不包含有效的pid 来自checkformisalignedlayers.d文件。

But on compilation time, application crashed with error "'CorePlot0' does not contain a valid pid" which is from "checkformisalignedlayers.d" file.

注意:从CorePlot_1.0 / Source /执行时,相同的示例工作正常示例文件夹。

Note : the same example is working perfectly when executed from CorePlot_1.0/Source/examples folder.

是否缺少任何步骤或安装步骤有什么问题?

does any steps are missing or anything wrong with the installation steps ?

提前致谢。

推荐答案

问题已解决.CorePlot安装现在运行正常。

Problem solved.CorePlot installation is working perfectly now.

按照现有的例子。使用框架路径设置头路径详细信息。我在应用程序中添加了框架目录。

as per existing example.header path details is set with framework path.and I've added framework directory in application.

但不是在应用程序中添加框架目录而只需要添加 CorePlotHeaders 目录。

but instead of adding framework directory in application only need to add CorePlotHeaders directory.

希望,回答可以帮助其他人。

hope, answer could help to others.

这篇关于核心情节1.0与iPhone 5和Xcode 4.2 - 'CorePlot0'在编译时不包含有效的pid错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆