开发者

CorePlot linker errors after upgrading iOS SDK

开发者 https://www.devze.com 2023-02-05 01:56 出处:网络
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 unti

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 re开发者_StackOverflowchecked 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

Changing architectures between armv6 and armv7 doesn't do anything it seems


Since this is an issue with a beta version of iOS and is therefore still covered by the NDA I'll instead point you to the Apple Dev forum where I found a solution for this:

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

Only suggestion is to make sure that any linked libraries do not have "Build Active Architecture Only" set to YES as this will make any other multi-architecture settings you have set useless.

0

精彩评论

暂无评论...
验证码 换一张
取 消