CorePlot 无法在 XCode 4.4 中构建 [英] CorePlot failed to build in XCode 4.4

查看:25
本文介绍了CorePlot 无法在 XCode 4.4 中构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 CorePlot 0.3,一切正常,直到我将 XCode 升级到 4.4(2 天前),CorePlot 无法构建并且我收到一些错误消息:

I am using CorePlot 0.3, everything was ok until I upgraded XCode to 4.4 (2 days ago), CorePlot failed to build and I got some errors with message:

clang: 错误: -Z-reserved-lib-stdc++: 存在-c"时未使用链接器"输入命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 失败,退出代码为 1

clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

我尝试搜索,似乎有很多人有同样的问题,我也找到了一些建议和解决方案来解决它,我已应用到我的 CorePlot 版本但没有运气,该问题出现在某些课程中,例如如:CPTPlot.m、CPTScatterPlot.m、CPTBarPlot.m、CPTPlotSymbol.m.

I have tried to search and it seems there are many people have a same problem, and I also found some suggestions and solution to fix it, I have applied to my CorePlot version but no luck, the issue appear in some classes such as: CPTPlot.m, CPTScatterPlot.m, CPTBarPlot.m, CPTPlotSymbol.m.

我已经在这个问题上花了 2 天,但仍然无法解决它,请帮助我,在此先感谢.

I have spending 2 days on this problem but still not able solve it, please help me, thanks in advance.

推荐答案

最新的 coreplot 将解决 Xcode 4.4 的问题 - https://github.com/djw/core-plot

The latest coreplot will fix your issues with Xcode 4.4 - https://github.com/djw/core-plot

然而,我还没有让那些最新的更改在 Xcode 4.4 和 Xcode 4.3 中正常工作,所以如果你在团队中工作,不同的版本,要小心.

I have not however got those latest changes to work properly in both Xcode 4.4 and Xcode 4.3 so if you are working in teams, different versions, be careful.

这篇关于CorePlot 无法在 XCode 4.4 中构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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