iOS チャート ライブラリを使用してプロジェクトを実行しようとすると、次のエラーが発生します。このコードは、iPhone5 および iPad2 で実行している場合はシミュレーターで正常に動作しますが、iPhone6 以降ではビルドに失敗します。
Undefined symbols for architecture i386:
"_OBJC_CLASS_$__TtC6Charts12BarChartData", referenced from:
objc-class-ref in SMWBarChartsViewController.o
objc-class-ref in SMWBarGraphViewController.o
"_OBJC_CLASS_$__TtC6Charts12PieChartData", referenced from:
objc-class-ref in SMWPieChartsViewController.o
"_OBJC_CLASS_$__TtC6Charts15BarChartDataSet", referenced from:
objc-class-ref in SMWBarChartsViewController.o
objc-class-ref in SMWBarGraphViewController.o
"_OBJC_CLASS_$__TtC6Charts15PieChartDataSet", referenced from:
objc-class-ref in SMWPieChartsViewController.o
"_OBJC_CLASS_$__TtC6Charts17BarChartDataEntry", referenced from:
objc-class-ref in SMWBarChartsViewController.o
objc-class-ref in SMWPieChartsViewController.o
objc-class-ref in SMWBarGraphViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)