Core Plot フレームワークを使用するアプリをビルドすると、次のリンカー エラーが表示されます。
ld: warning: ignoring file /Users/a/Desktop/a
7-31-12 10.57 AM/usr/local/lib/libCorePlot-CocoaTouch.a, missing
required architecture i386 in file
/Users/a/Desktop/a 7-31-12 10.57
AM/usr/local/lib/libCorePlot-CocoaTouch.a (2 slices) Undefined symbols
for architecture i386: "_CPTDecimalFromFloat", referenced from:
-[CPTTestAppScatterPlotController viewDidLoad] in CPTTestAppScatterPlotController.o
-[CPTTestAppScatterPlotController changePlotRange] in CPTTestAppScatterPlotController.o
-[StatsVC CallBarChart] in StatsVC.o "_CPTDecimalFromInt", referenced from:
-[StatsVC CallBarChart] in StatsVC.o
-[StatsVC CallScatterChart] in StatsVC.o "_CPTDecimalFromString", referenced from:
-[CPTTestAppScatterPlotController viewDidLoad] in CPTTestAppScatterPlotController.o
-[StatsVC CallBarChart] in StatsVC.o
-[StatsVC CallScatterChart] in StatsVC.o "_OBJC_CLASS_$_CPTAxisLabel", referenced from:
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTBarPlot", referenced from:
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTColor", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTConstraints", referenced from:
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTFill", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTGradient", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTGraphHostingView", referenced from:
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTMutableLineStyle", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTPlotRange", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTPlotSymbol", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o "_OBJC_CLASS_$_CPTScatterPlot", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTTextStyle", referenced from:
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTTheme", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_OBJC_CLASS_$_CPTXYGraph", referenced from:
objc-class-ref in CPTTestAppScatterPlotController.o
objc-class-ref in StatsVC.o "_kCPTDarkGradientTheme", referenced from:
-[CPTTestAppScatterPlotController viewDidLoad] in CPTTestAppScatterPlotController.o
-[StatsVC CallScatterChart] in StatsVC.o
-[CPTTestAppScatterPlotController viewDidLoad] in CPTTestAppScatterPlotController.o
-[StatsVC CallScatterChart] in StatsVC.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit
code 1 (use -v to see invocation)
coreplot を適切にリンクしようとしましたが、アーキテクチャを armv6、armv7 などに変更しました...しかし、3 日からこの問題に直面しています
ここでの問題は何ですか?