升级iOS SDK后CorePlot链接器错误

时间:2011-01-13 18:32:18

标签: iphone ipad ios core-plot

这似乎发生在此之前,但不知何故最终解决了问题。它再次发生,我似乎无法解决这个问题。我使用CorePlot Cocoa Touch框架。一切都很好,直到我升级到新的4.3 beta。现在我的项目将无法编译,并且正在为我提供与CorePlot有关的未知符号的链接器错误。我已成为一名专业人员,将框架添加到我的项目中,并且我已经检查并重新检查了再次尝试执行此操作的说明。

是否有可以点击的按钮或其他任何东西才能再次使用?

我已经使用these instructions尝试重新添加框架,但无济于事

编辑:顺便说一下,这对于模拟器编译很好,并且运行图表没问题。为设备进行编译会给出链接器错误,如下所示:

  "_OBJC_CLASS_$_CPPlotRange", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPXYGraph", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


   "_OBJC_CLASS_$_CPTextStyle", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPLineStyle", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPScatterPlot", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPAxisLabel", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPPlotSymbol", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPColor", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_OBJC_CLASS_$_CPFill", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


  "_CPDecimalFromFloat", referenced from:


  -[GraphStatsWindow setNewGraph] in GraphStatsWindow.o


  -[iPadGraphView viewDidLoad] in iPadGraphView.o


  -[GraphTrendView setNewGraph] in GraphTrendView.o


  "_kCPPlainWhiteTheme", referenced from:


  -[GraphStatsWindow setNewGraph] in GraphStatsWindow.o


  -[iPadGraphView viewDidLoad] in iPadGraphView.o


  -[GraphTrendView setNewGraph] in GraphTrendView.o


  "_OBJC_CLASS_$_CPTheme", referenced from:


  objc-class-ref in GraphStatsWindow.o


  objc-class-ref in iPadGraphView.o


  objc-class-ref in GraphTrendView.o


ld: symbol(s) not found for architecture armv7

更改armv6和armv7之间的架构似乎没有做任何事情

1 个答案:

答案 0 :(得分:4)

由于这是iOS测试版的一个问题,因此仍然会被NDA覆盖,我会转而指向Apple Dev论坛,在那里我找到了解决方案:

https://devforums.apple.com/message/369315#369315

唯一的建议是确保所有链接库都没有将“Build Active Architecture Only”设置为YES,因为这会使您设置的任何其他多架构设置无效。