CorePlot linker errors after upgrading iOS SDK

Posted by JustinXXVII on Stack Overflow See other posts from Stack Overflow or by JustinXXVII
Published on 2011-01-13T18:32:17Z Indexed on 2011/01/13 18:53 UTC
Read the original article Hit count: 355

Filed under:
|
|
|

This seems like it's happened before but somehow ended up working itself out. It's happened again and I can't seem to get this fixed. I use the CorePlot Cocoa Touch framework. Everything was fine until I upgraded to the new 4.3 beta. Now my project won't compile, and is giving me linker errors for unknown symbols having to do with CorePlot. I've become a pro at adding the framework to my project, and I've checked and rechecked the instructions trying to do it again.

Is there a button I can click or anything to just make this work again?

I've used these instructions to try to re-add the framework, to no avail

EDIT: By the way, this compiles just fine for simulator and runs graphs no problem. Compiling for the device gives me the linker errors, as follows:

  "_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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad